dennyaw commited on
Commit
5fdf292
1 Parent(s): 7196282

fix return history

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -101,7 +101,7 @@ def chatbot(history,temperature, max_new_tokens, top_p,top_k):
101
  response = sections[3]
102
 
103
  #return response.split("Tanggapan:")[1].strip()
104
- history[-1] = return response.split("Tanggapan:")[1].strip()
105
  return history
106
 
107
  with gr.Blocks() as demo:
 
101
  response = sections[3]
102
 
103
  #return response.split("Tanggapan:")[1].strip()
104
+ history[-1] = response.split("Tanggapan:")[1].strip()
105
  return history
106
 
107
  with gr.Blocks() as demo: