Spaces:
Runtime error
Runtime error
victorisgeek
commited on
Commit
β’
a813c21
1
Parent(s):
4bec1ea
Update app.py
Browse files
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
|