Spaces:
Running on Zero
Running on Zero
Fix the launch keywords and the taxonomy import
Browse files
app.py
CHANGED
|
@@ -5,7 +5,8 @@ from tempfile import TemporaryDirectory
|
|
| 5 |
|
| 6 |
import gradio as gr
|
| 7 |
import spaces
|
| 8 |
-
from pyharp import ModelCard, build_endpoint
|
|
|
|
| 9 |
|
| 10 |
from runtime import EXAMPLE, render
|
| 11 |
|
|
@@ -49,6 +50,6 @@ if __name__ == "__main__":
|
|
| 49 |
)
|
| 50 |
|
| 51 |
|
| 52 |
-
demo.queue(default_concurrency_limit=1, max_size=4).launch(
|
| 53 |
-
show_error=True, pwa=True, max_file_size="2mb"
|
| 54 |
)
|
|
|
|
| 5 |
|
| 6 |
import gradio as gr
|
| 7 |
import spaces
|
| 8 |
+
from pyharp import ModelCard, build_endpoint
|
| 9 |
+
from pyharp.tags import Subcategory
|
| 10 |
|
| 11 |
from runtime import EXAMPLE, render
|
| 12 |
|
|
|
|
| 50 |
)
|
| 51 |
|
| 52 |
|
| 53 |
+
demo.queue(default_concurrency_limit=1, max_size=4).launch(
|
| 54 |
+
share=True, show_error=True, pwa=True, max_file_size="2mb"
|
| 55 |
)
|