Spaces:
Runtime error
Runtime error
Eric Michael Martinez
commited on
Commit
·
c22fd38
1
Parent(s):
f389e2f
fix typo
Browse files- 05_deploying_a_chatbot_to_the_web.ipynb +5 -6
- app.py +1 -1
05_deploying_a_chatbot_to_the_web.ipynb
CHANGED
@@ -94,7 +94,7 @@
|
|
94 |
},
|
95 |
{
|
96 |
"cell_type": "code",
|
97 |
-
"execution_count":
|
98 |
"id": "710b66f7",
|
99 |
"metadata": {},
|
100 |
"outputs": [
|
@@ -234,10 +234,9 @@
|
|
234 |
" \n",
|
235 |
"# Call the launch_chatbot function to start the chatbot interface using Gradio\n",
|
236 |
"# Set the share parameter to False, meaning the interface will not be publicly accessible\n",
|
237 |
-
"app = get_chatbot_app(
|
238 |
-
"app.queue() #
|
239 |
-
"
|
240 |
-
"launch(auth=auth)"
|
241 |
]
|
242 |
},
|
243 |
{
|
@@ -250,7 +249,7 @@
|
|
250 |
},
|
251 |
{
|
252 |
"cell_type": "code",
|
253 |
-
"execution_count":
|
254 |
"id": "14d0e434",
|
255 |
"metadata": {},
|
256 |
"outputs": [
|
|
|
94 |
},
|
95 |
{
|
96 |
"cell_type": "code",
|
97 |
+
"execution_count": 12,
|
98 |
"id": "710b66f7",
|
99 |
"metadata": {},
|
100 |
"outputs": [
|
|
|
234 |
" \n",
|
235 |
"# Call the launch_chatbot function to start the chatbot interface using Gradio\n",
|
236 |
"# Set the share parameter to False, meaning the interface will not be publicly accessible\n",
|
237 |
+
"app = get_chatbot_app()\n",
|
238 |
+
"app.queue() # this is to be able to queue multiple requests at once\n",
|
239 |
+
"app.launch(auth=auth)"
|
|
|
240 |
]
|
241 |
},
|
242 |
{
|
|
|
249 |
},
|
250 |
{
|
251 |
"cell_type": "code",
|
252 |
+
"execution_count": 13,
|
253 |
"id": "14d0e434",
|
254 |
"metadata": {},
|
255 |
"outputs": [
|
app.py
CHANGED
@@ -124,6 +124,6 @@ def get_chatbot_app(additional_examples=[]):
|
|
124 |
|
125 |
# Call the launch_chatbot function to start the chatbot interface using Gradio
|
126 |
# Set the share parameter to False, meaning the interface will not be publicly accessible
|
127 |
-
app = get_chatbot_app(
|
128 |
app.queue() # this is to be able to queue multiple requests at once
|
129 |
app.launch(auth=auth)
|
|
|
124 |
|
125 |
# Call the launch_chatbot function to start the chatbot interface using Gradio
|
126 |
# Set the share parameter to False, meaning the interface will not be publicly accessible
|
127 |
+
app = get_chatbot_app()
|
128 |
app.queue() # this is to be able to queue multiple requests at once
|
129 |
app.launch(auth=auth)
|