Spaces:
Running
Running
Commit
·
711e623
1
Parent(s):
937e75d
Update app.py
Browse files
app.py
CHANGED
|
@@ -38,12 +38,10 @@ def predict(input, history=[]):
|
|
| 38 |
|
| 39 |
return response, history
|
| 40 |
|
| 41 |
-
gr.Interface(
|
| 42 |
-
"textbox",
|
| 43 |
-
"chatbot",
|
| 44 |
-
theme ="grass",
|
| 45 |
-
title = title,
|
| 46 |
-
flagging_callback=hf_writer,
|
| 47 |
-
description = description,
|
| 48 |
-
article = article).launch(enable_queue=True) # customizes the input component
|
| 49 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 38 |
|
| 39 |
return response, history
|
| 40 |
|
| 41 |
+
gr.Interface(predict,"textbox","chatbot").launch(enable_queue=True) # customizes the input component
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 42 |
|
| 43 |
+
#theme ="grass",
|
| 44 |
+
#title = title,
|
| 45 |
+
#flagging_callback=hf_writer,
|
| 46 |
+
#description = description,
|
| 47 |
+
#article = article
|