Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -58,11 +58,6 @@ context_input = gr.inputs.Textbox(label="Context")
|
|
58 |
output_text = gr.outputs.Textbox(label="Output")
|
59 |
|
60 |
# Create the interface
|
61 |
-
|
62 |
inputs=[prompt_input, instruction_input, context_input],
|
63 |
-
outputs=output_text)
|
64 |
-
|
65 |
-
|
66 |
-
interface.queue()
|
67 |
-
|
68 |
-
interface.launch()
|
|
|
58 |
output_text = gr.outputs.Textbox(label="Output")
|
59 |
|
60 |
# Create the interface
|
61 |
+
gr.Interface(fn=predict,
|
62 |
inputs=[prompt_input, instruction_input, context_input],
|
63 |
+
outputs=output_text,enable_queue=True).launch(debug=True)
|
|
|
|
|
|
|
|
|
|