Spaces:
Sleeping
Sleeping
Upload folder using huggingface_hub
Browse files
app.py
CHANGED
|
@@ -43,7 +43,8 @@ iface = gr.Interface(
|
|
| 43 |
gr.Textbox(label="Message"),
|
| 44 |
gr.Textbox(label="API Key", type="password")
|
| 45 |
],
|
| 46 |
-
outputs="
|
|
|
|
| 47 |
)
|
| 48 |
|
| 49 |
iface.launch()
|
|
|
|
| 43 |
gr.Textbox(label="Message"),
|
| 44 |
gr.Textbox(label="API Key", type="password")
|
| 45 |
],
|
| 46 |
+
outputs="json",
|
| 47 |
+
api_name="chat"
|
| 48 |
)
|
| 49 |
|
| 50 |
iface.launch()
|