azunre commited on
Commit
41b1590
·
verified ·
1 Parent(s): 3953b64

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -3
app.py CHANGED
@@ -41,9 +41,6 @@ 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
- full_output = ""
45
- for el in history:
46
- full_output = full_output + el
47
  return history
48
 
49
  with gr.Blocks(fill_height=True) as demo:
 
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: