Calvin commited on
Commit
56ea6dd
·
1 Parent(s): 8f08f12
Files changed (1) hide show
  1. app.py +1 -1
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 result[0]["generated_text"]
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()