Spaces:
Runtime error
Runtime error
Update tabbed.py
Browse files
tabbed.py
CHANGED
@@ -81,11 +81,11 @@ def generate_text_instruct(input_text):
|
|
81 |
yield response
|
82 |
|
83 |
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
|
90 |
with gr.Blocks() as demo:
|
91 |
with gr.Row():
|
|
|
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():
|