Spaces:
Runtime error
Runtime error
Commit
·
473ca64
1
Parent(s):
979b48e
Update app.py
Browse files
app.py
CHANGED
@@ -40,7 +40,7 @@ def predict(input, history=[]):
|
|
40 |
|
41 |
return response, history
|
42 |
|
43 |
-
gr.Interface(fn = predict,inputs = "textbox", outputs = "chatbot",allow_flagging = "manual",theme ="grass",title = title,
|
44 |
|
45 |
#theme ="grass",
|
46 |
#title = title,
|
|
|
40 |
|
41 |
return response, history
|
42 |
|
43 |
+
gr.Interface(fn = predict, inputs = "textbox", outputs = "chatbot",allow_flagging = "manual",theme ="grass",title = title, flagging_callback = hf_writer, description = description, article = article ).launch(enable_queue=True) # customizes the input component
|
44 |
|
45 |
#theme ="grass",
|
46 |
#title = title,
|