rizam commited on
Commit
c510180
·
1 Parent(s): fb22ec3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -0
app.py CHANGED
@@ -28,3 +28,8 @@ def predict(input,initial_prompt, history=[]):
28
  history.append((input, response2))
29
 
30
  return history, history
 
 
 
 
 
 
28
  history.append((input, response2))
29
 
30
  return history, history
31
+
32
+ gr.Interface(fn=predict,
33
+ inputs=["text","text",'state'],
34
+
35
+ outputs=["chatbot",'state']).launch()