Spaces:
Sleeping
Sleeping
Upload app.py
Browse files
app.py
CHANGED
|
@@ -623,18 +623,10 @@ with gr.Blocks() as demo:
|
|
| 623 |
|
| 624 |
@spaces.GPU
|
| 625 |
def run_spaces():
|
| 626 |
-
demo.launch(
|
| 627 |
-
#col-container { margin: 0 auto; max-width: 1200px; }
|
| 628 |
-
#main-title h1 { font-size: 2.1em !important; }
|
| 629 |
-
.layer-button { margin: 2px; }
|
| 630 |
-
""")
|
| 631 |
|
| 632 |
def run_local():
|
| 633 |
-
demo.launch(show_error=True
|
| 634 |
-
#col-container { margin: 0 auto; max-width: 1200px; }
|
| 635 |
-
#main-title h1 { font-size: 2.1em !important; }
|
| 636 |
-
.layer-button { margin: 2px; }
|
| 637 |
-
""")
|
| 638 |
|
| 639 |
if __name__ == "__main__":
|
| 640 |
# Hugging Spaces 頇橁步 臧愳
|
|
|
|
| 623 |
|
| 624 |
@spaces.GPU
|
| 625 |
def run_spaces():
|
| 626 |
+
demo.launch()
|
|
|
|
|
|
|
|
|
|
|
|
|
| 627 |
|
| 628 |
def run_local():
|
| 629 |
+
demo.launch(show_error=True)
|
|
|
|
|
|
|
|
|
|
|
|
|
| 630 |
|
| 631 |
if __name__ == "__main__":
|
| 632 |
# Hugging Spaces 頇橁步 臧愳
|