azunre commited on
Commit
99001a5
·
verified ·
1 Parent(s): 41b1590

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -40,7 +40,7 @@ with gr.Blocks(fill_height=True) as demo:
40
  def generate(prompt,history,language):
41
  print(history)
42
  output = client.predict(prompt,language)
43
- history.append(history.append([prompt+"\n-----\n",output+"\n*****\n"]))
44
  return history
45
 
46
  with gr.Blocks(fill_height=True) as demo:
 
40
  def generate(prompt,history,language):
41
  print(history)
42
  output = client.predict(prompt,language)
43
+ history.append([prompt+"\n-----\n",output+"\n*****\n"])
44
  return history
45
 
46
  with gr.Blocks(fill_height=True) as demo: