Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -194,10 +194,6 @@ def create_new_repo(repoid):
|
|
194 |
|
195 |
|
196 |
|
197 |
-
# Your ngrok authentication token
|
198 |
-
ngrok_authtoken = "2gzPcgAMGxQVLJDmoDGRGMEMANC_3JkRQLjdAvdb8gyEKCeXE"
|
199 |
-
|
200 |
-
|
201 |
|
202 |
|
203 |
with gr.Blocks() as demo:
|
@@ -238,11 +234,9 @@ with gr.Blocks() as demo:
|
|
238 |
|
239 |
|
240 |
|
241 |
-
demo.launch(
|
|
|
|
|
|
|
242 |
|
243 |
-
# Start ngrok if the token is correct
|
244 |
-
if ngrok_authtoken == "2gzPcgAMGxQVLJDmoDGRGMEMANC_3JkRQLjdAvdb8gyEKCeXE":
|
245 |
-
ngrok.set_auth_token(ngrok_authtoken)
|
246 |
-
public_url = ngrok.connect(port=7860)
|
247 |
-
print(f"NGROK URL: {public_url}")
|
248 |
|
|
|
194 |
|
195 |
|
196 |
|
|
|
|
|
|
|
|
|
197 |
|
198 |
|
199 |
with gr.Blocks() as demo:
|
|
|
234 |
|
235 |
|
236 |
|
237 |
+
demo.launch(
|
238 |
+
debug=True,
|
239 |
+
share=True,
|
240 |
+
)
|
241 |
|
|
|
|
|
|
|
|
|
|
|
242 |
|