MD1998 commited on
Commit
7c44894
·
verified ·
1 Parent(s): 185f6c5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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()