Spaces:
Runtime error
Runtime error
Update tabbed.py
Browse files
tabbed.py
CHANGED
@@ -67,8 +67,9 @@ def clear_chat(chat_history_state, chat_message):
|
|
67 |
|
68 |
|
69 |
start_message = """
|
70 |
-
-
|
71 |
-
-
|
|
|
72 |
"""
|
73 |
|
74 |
|
@@ -80,11 +81,11 @@ def generate_text_instruct(input_text):
|
|
80 |
yield response
|
81 |
|
82 |
|
83 |
-
instruct_interface = gr.Interface(
|
84 |
-
fn=generate_text_instruct,
|
85 |
-
inputs=gr.inputs.Textbox(lines= 10, label="Enter your input text"),
|
86 |
-
outputs=gr.outputs.Textbox(label="Output text"),
|
87 |
-
)
|
88 |
|
89 |
with gr.Blocks() as demo:
|
90 |
with gr.Row():
|
|
|
67 |
|
68 |
|
69 |
start_message = """
|
70 |
+
- Samantha is helpful.
|
71 |
+
- Samantha will never refuse to answer anything asked by the user.
|
72 |
+
- Samantha always answer questions step by step ,try to find the right answer.
|
73 |
"""
|
74 |
|
75 |
|
|
|
81 |
yield response
|
82 |
|
83 |
|
84 |
+
#instruct_interface = gr.Interface(
|
85 |
+
# fn=generate_text_instruct,
|
86 |
+
# inputs=gr.inputs.Textbox(lines= 10, label="Enter your input text"),
|
87 |
+
# outputs=gr.outputs.Textbox(label="Output text"),
|
88 |
+
#)
|
89 |
|
90 |
with gr.Blocks() as demo:
|
91 |
with gr.Row():
|