Spaces:
Running
on
Zero
Running
on
Zero
Disable embedding
#17
by
radames
- opened
README.md
CHANGED
|
@@ -8,4 +8,5 @@ sdk_version: 4.4.0
|
|
| 8 |
app_file: app.py
|
| 9 |
pinned: false
|
| 10 |
license: other
|
|
|
|
| 11 |
---
|
|
|
|
| 8 |
app_file: app.py
|
| 9 |
pinned: false
|
| 10 |
license: other
|
| 11 |
+
disable_embedding: true
|
| 12 |
---
|
app.py
CHANGED
|
@@ -121,5 +121,5 @@ with gr.Blocks() as demo:
|
|
| 121 |
)
|
| 122 |
|
| 123 |
if __name__ == "__main__":
|
| 124 |
-
demo.queue(max_size=20)
|
| 125 |
-
demo.launch(share=True)
|
|
|
|
| 121 |
)
|
| 122 |
|
| 123 |
if __name__ == "__main__":
|
| 124 |
+
demo.queue(max_size=20, api_open=False)
|
| 125 |
+
demo.launch(share=True, show_api=False)
|