Spaces:
Sleeping
Sleeping
Commit
·
bc7e1a6
1
Parent(s):
ae9c57d
Update app.py
Browse files
app.py
CHANGED
@@ -37,5 +37,13 @@ def predict(input, history=[]):
|
|
37 |
|
38 |
return response, history
|
39 |
|
40 |
-
gr.Interface(fn= predict,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
41 |
|
|
|
37 |
|
38 |
return response, history
|
39 |
|
40 |
+
gr.Interface(fn= predict,
|
41 |
+
css=".footer {display:none !important}",
|
42 |
+
inputs=["text", "state"],
|
43 |
+
outputs=["text", "state"],
|
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 |
|