Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -500,4 +500,11 @@ Set `"stream": true` in your request to receive real-time token-by-token respons
|
|
| 500 |
],
|
| 501 |
"stream": true,
|
| 502 |
"temperature": 0.7
|
| 503 |
-
}}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 500 |
],
|
| 501 |
"stream": true,
|
| 502 |
"temperature": 0.7
|
| 503 |
+
}}
|
| 504 |
+
"""
|
| 505 |
+
with gr.Blocks(title="SAM-X-1 API") as demo:
|
| 506 |
+
gr.Markdown(get_api_info())
|
| 507 |
+
|
| 508 |
+
|
| 509 |
+
app = gr.mount_gradio_app(app, demo, path="/")
|
| 510 |
+
|