Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -80,7 +80,6 @@ def generate_response(input_text):
|
|
80 |
return response.strip()
|
81 |
|
82 |
# Interface
|
83 |
-
|
84 |
-
output_text = gr.outputs.Textbox(label="Output Text")
|
85 |
|
86 |
-
|
|
|
80 |
return response.strip()
|
81 |
|
82 |
# Interface
|
83 |
+
iface = gr.Interface(fn=generate_response, inputs="textbox", outputs="textbox", title="Cosmos AI - A conversational model",)
|
|
|
84 |
|
85 |
+
iface.launch()
|