Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -379,6 +379,7 @@ def run(purpose,history,key_inp):
|
|
| 379 |
else:
|
| 380 |
return "Invalid Key"
|
| 381 |
|
|
|
|
| 382 |
|
| 383 |
|
| 384 |
examples =[
|
|
@@ -387,7 +388,6 @@ examples =[
|
|
| 387 |
"Find the best deals on flippers for scuba diving",
|
| 388 |
"Teach me to fly a helicopter",
|
| 389 |
]
|
| 390 |
-
with gr.Blocks() as app:
|
| 391 |
key_inp=gr.Textbox()
|
| 392 |
add_in=[key_inp]
|
| 393 |
gr.ChatInterface(
|
|
|
|
| 379 |
else:
|
| 380 |
return "Invalid Key"
|
| 381 |
|
| 382 |
+
with gr.Blocks() as app:
|
| 383 |
|
| 384 |
|
| 385 |
examples =[
|
|
|
|
| 388 |
"Find the best deals on flippers for scuba diving",
|
| 389 |
"Teach me to fly a helicopter",
|
| 390 |
]
|
|
|
|
| 391 |
key_inp=gr.Textbox()
|
| 392 |
add_in=[key_inp]
|
| 393 |
gr.ChatInterface(
|