shlokamhaisekar commited on
Commit
7146a34
·
verified ·
1 Parent(s): 0c0fcec

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -120,7 +120,7 @@ def respond(message, history):
120
  response = client.chat_completion(messages, max_tokens = 100, temperature = 1.3, top_p = 0.3)
121
 
122
  #temperature and top_p control randomness
123
- return response['choices'][0]['message']['content'].strip() + "Here is one recipe you could make: " + best_recipes_chunk[0] + "\n"
124
 
125
  chatbot = gr.ChatInterface(respond, type="messages")
126
  chatbot.launch()
 
120
  response = client.chat_completion(messages, max_tokens = 100, temperature = 1.3, top_p = 0.3)
121
 
122
  #temperature and top_p control randomness
123
+ return response['choices'][0]['message']['content'].strip() + "Here is one recipe you could make: " + str(best_recipes_chunk[0]) + "\n"
124
 
125
  chatbot = gr.ChatInterface(respond, type="messages")
126
  chatbot.launch()