Fix Space Gradio 6 launch for HF runtime
Browse files- __pycache__/app.cpython-310.pyc +0 -0
- __pycache__/space_runtime.cpython-310.pyc +0 -0
- app.py +4 -1
__pycache__/app.cpython-310.pyc
CHANGED
|
Binary files a/__pycache__/app.cpython-310.pyc and b/__pycache__/app.cpython-310.pyc differ
|
|
|
__pycache__/space_runtime.cpython-310.pyc
CHANGED
|
Binary files a/__pycache__/space_runtime.cpython-310.pyc and b/__pycache__/space_runtime.cpython-310.pyc differ
|
|
|
app.py
CHANGED
|
@@ -928,7 +928,7 @@ def load_example(example_name: str):
|
|
| 928 |
)
|
| 929 |
|
| 930 |
|
| 931 |
-
with gr.Blocks(title="BioAssayAlign Compatibility Explorer", analytics_enabled=False
|
| 932 |
gr.HTML(
|
| 933 |
"""
|
| 934 |
<div id="hero">
|
|
@@ -1046,7 +1046,10 @@ if __name__ == "__main__":
|
|
| 1046 |
import threading
|
| 1047 |
threading.Thread(target=_warm_model_background, daemon=True).start()
|
| 1048 |
demo.queue(default_concurrency_limit=4).launch(
|
|
|
|
| 1049 |
show_error=True,
|
| 1050 |
quiet=True,
|
| 1051 |
footer_links=["gradio"],
|
|
|
|
|
|
|
| 1052 |
)
|
|
|
|
| 928 |
)
|
| 929 |
|
| 930 |
|
| 931 |
+
with gr.Blocks(title="BioAssayAlign Compatibility Explorer", analytics_enabled=False) as demo:
|
| 932 |
gr.HTML(
|
| 933 |
"""
|
| 934 |
<div id="hero">
|
|
|
|
| 1046 |
import threading
|
| 1047 |
threading.Thread(target=_warm_model_background, daemon=True).start()
|
| 1048 |
demo.queue(default_concurrency_limit=4).launch(
|
| 1049 |
+
server_name="0.0.0.0",
|
| 1050 |
show_error=True,
|
| 1051 |
quiet=True,
|
| 1052 |
footer_links=["gradio"],
|
| 1053 |
+
css=CSS,
|
| 1054 |
+
theme=THEME,
|
| 1055 |
)
|