Spaces:
Runtime error
Runtime error
Update app.py
#1
by
victorisgeek
- opened
app.py
CHANGED
@@ -902,5 +902,6 @@ with gr.Blocks(css=css) as interface:
|
|
902 |
if __name__ == "__main__":
|
903 |
if USE_COLAB:
|
904 |
print("Running in colab mode")
|
905 |
-
|
906 |
-
|
|
|
|
902 |
if __name__ == "__main__":
|
903 |
if USE_COLAB:
|
904 |
print("Running in colab mode")
|
905 |
+
interface.launch(share=True) # Launch with sharing enabled
|
906 |
+
else:
|
907 |
+
interface.launch(share=False) # Launch without sharing
|