Samilincoln
commited on
Commit
·
7f1bee4
1
Parent(s):
60da547
new change
Browse files
app.py
CHANGED
@@ -49,7 +49,7 @@ def recipe_chatbot(messages: str, history=[]):
|
|
49 |
response = model.generate_content(prompt, request_options=retry_policy)
|
50 |
history.append(messages)
|
51 |
history.append(response.text)
|
52 |
-
return
|
53 |
|
54 |
bot = gr.ChatInterface(
|
55 |
fn=recipe_chatbot,
|
|
|
49 |
response = model.generate_content(prompt, request_options=retry_policy)
|
50 |
history.append(messages)
|
51 |
history.append(response.text)
|
52 |
+
return response.text
|
53 |
|
54 |
bot = gr.ChatInterface(
|
55 |
fn=recipe_chatbot,
|