fsaglam2002 commited on
Commit
c279e3a
·
verified ·
1 Parent(s): 86f1f69

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -1
app.py CHANGED
@@ -11,4 +11,11 @@ def answer_question(question, context):
11
  response = _pipeline(di)
12
  return response
13
 
14
- grad.Interface(answer_question, inputs=["text", "text"], outputs="text").launch()
 
 
 
 
 
 
 
 
11
  response = _pipeline(di)
12
  return response
13
 
14
+ grad.Interface(answer_question, inputs=["text", "text"], outputs="text").launch()
15
+
16
+ text = grad.inputs.Textbox(placeholder="Lets chat together")
17
+ grad.Interface (fn=converse,
18
+ theme="default",
19
+ inputs=[text, "state"],
20
+ outputs=["html", "state"],
21
+ css=css).launch()