Fixing api errors 2
Browse files- app.py +1 -10
- requirements.txt +3 -3
app.py
CHANGED
|
@@ -76,16 +76,7 @@ demo = gr.ChatInterface(
|
|
| 76 |
"Tell me a joke",
|
| 77 |
"What do you think about artificial intelligence?"
|
| 78 |
],
|
| 79 |
-
cache_examples=False
|
| 80 |
-
retry_btn="🔄 Retry",
|
| 81 |
-
undo_btn="↶ Undo",
|
| 82 |
-
clear_btn="🗑️ Clear",
|
| 83 |
-
submit_btn="Send",
|
| 84 |
-
textbox=gr.Textbox(
|
| 85 |
-
placeholder="Type your message here...",
|
| 86 |
-
container=False,
|
| 87 |
-
scale=7
|
| 88 |
-
)
|
| 89 |
)
|
| 90 |
|
| 91 |
# Launch the app
|
|
|
|
| 76 |
"Tell me a joke",
|
| 77 |
"What do you think about artificial intelligence?"
|
| 78 |
],
|
| 79 |
+
cache_examples=False
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 80 |
)
|
| 81 |
|
| 82 |
# Launch the app
|
requirements.txt
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
-
torch
|
| 2 |
-
transformers
|
| 3 |
-
gradio
|
|
|
|
| 1 |
+
torch
|
| 2 |
+
transformers
|
| 3 |
+
gradio
|