Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -235,14 +235,14 @@ with gr.Blocks() as demo:
|
|
235 |
with gr.Tabs():
|
236 |
gr.Markdown(f"### <div style='text-align: center;'>made with ❤ by <a href='https://huggingface.co/Hev832'>Hev832</a></div>")
|
237 |
|
238 |
-
# Start ngrok if the token is correct
|
239 |
-
if ngrok_authtoken == "2gzPcgAMGxQVLJDmoDGRGMEMANC_3JkRQLjdAvdb8gyEKCeXE":
|
240 |
-
ngrok.set_auth_token(ngrok_authtoken)
|
241 |
-
public_url = ngrok.connect(port=7860)
|
242 |
-
print(f"NGROK URL: {public_url}")
|
243 |
|
244 |
|
245 |
|
246 |
demo.launch()
|
247 |
|
|
|
|
|
|
|
|
|
|
|
248 |
|
|
|
235 |
with gr.Tabs():
|
236 |
gr.Markdown(f"### <div style='text-align: center;'>made with ❤ by <a href='https://huggingface.co/Hev832'>Hev832</a></div>")
|
237 |
|
|
|
|
|
|
|
|
|
|
|
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 |
|