Spaces:
Runtime error
Runtime error
Calvin
commited on
Commit
·
56ea6dd
1
Parent(s):
8f08f12
added bot
Browse files
app.py
CHANGED
@@ -75,7 +75,7 @@ def query_model(message, history):
|
|
75 |
|
76 |
# parsed_result = result[0]["generated_text"].split("<assistant>:")[1][1:]
|
77 |
|
78 |
-
return
|
79 |
|
80 |
|
81 |
gr.ChatInterface(query_model, textbox=gr.Textbox(placeholder="Ask anything about Fetch!", container=False, scale=7),).launch()
|
|
|
75 |
|
76 |
# parsed_result = result[0]["generated_text"].split("<assistant>:")[1][1:]
|
77 |
|
78 |
+
return parsed_result
|
79 |
|
80 |
|
81 |
gr.ChatInterface(query_model, textbox=gr.Textbox(placeholder="Ask anything about Fetch!", container=False, scale=7),).launch()
|