azunre commited on
Commit
be50ee3
·
verified ·
1 Parent(s): fea87b1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -39,7 +39,9 @@ with gr.Blocks(fill_height=True) as demo:
39
 
40
  def generate(prompt,history,language):
41
  history.append("USER: "+prompt+"\n-----\n")
 
42
  output = client.predict(prompt,language)
 
43
  history.append("KHAYA: "+output+"\n*****\n")
44
  full_output = ""
45
  for el in history:
 
39
 
40
  def generate(prompt,history,language):
41
  history.append("USER: "+prompt+"\n-----\n")
42
+ print(history)
43
  output = client.predict(prompt,language)
44
+ print(output)
45
  history.append("KHAYA: "+output+"\n*****\n")
46
  full_output = ""
47
  for el in history: