Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -92,9 +92,9 @@ def chat_with_model(input_text):
|
|
92 |
|
93 |
|
94 |
def greet(user_input):
|
|
|
95 |
|
96 |
-
|
97 |
-
return chat_with_model(user_input)
|
98 |
|
99 |
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
|
100 |
iface.launch()
|
|
|
92 |
|
93 |
|
94 |
def greet(user_input):
|
95 |
+
response = chat_with_model(user_input)
|
96 |
|
97 |
+
return response
|
|
|
98 |
|
99 |
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
|
100 |
iface.launch()
|