research14 commited on
Commit
5d98961
·
1 Parent(s): f2bf6a1

changed output

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -66,7 +66,7 @@ def vicuna_respond(tab_name, message, chat_history):
66
 
67
  chat_history.append((formatted_prompt, bot_message))
68
  time.sleep(2)
69
- return tab_name, "", chat_history
70
 
71
  def llama_respond(tab_name, message, chat_history):
72
  formatted_prompt = f'''Generate the output only for the assistant. Please output any {tab_name} in the following sentence one per line without any additional text: {message}'''
@@ -79,7 +79,7 @@ def llama_respond(tab_name, message, chat_history):
79
 
80
  chat_history.append((formatted_prompt, bot_message))
81
  time.sleep(2)
82
- return tab_name, "", chat_history
83
 
84
  def interface():
85
  gr.Markdown(" Description ")
 
66
 
67
  chat_history.append((formatted_prompt, bot_message))
68
  time.sleep(2)
69
+ return tab_name, "", bot_message
70
 
71
  def llama_respond(tab_name, message, chat_history):
72
  formatted_prompt = f'''Generate the output only for the assistant. Please output any {tab_name} in the following sentence one per line without any additional text: {message}'''
 
79
 
80
  chat_history.append((formatted_prompt, bot_message))
81
  time.sleep(2)
82
+ return tab_name, "", bot_message
83
 
84
  def interface():
85
  gr.Markdown(" Description ")