Guiyom commited on
Commit
ed72fea
·
1 Parent(s): 26a2217

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -33,6 +33,7 @@ with gr.Blocks(theme=gr.themes.Glass()) as demo:
33
  stop=None
34
  )
35
  result = response['choices'][0]['message']['content']
 
36
 
37
  def init_history(language, messages_history1, messages_history2, messages_history3): #Reinitialize the state file
38
  messages_history1 = [[None,languagedict[language]['whatcanidofirst']]]
 
33
  stop=None
34
  )
35
  result = response['choices'][0]['message']['content']
36
+ return result
37
 
38
  def init_history(language, messages_history1, messages_history2, messages_history3): #Reinitialize the state file
39
  messages_history1 = [[None,languagedict[language]['whatcanidofirst']]]