Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -283,7 +283,7 @@ with demo:
|
|
283 |
The recordings are not saved and are automatically removed.
|
284 |
""")
|
285 |
ok_button = gr.Button("OK", elem_id="popup-button")
|
286 |
-
|
287 |
|
288 |
gr.HTML("""
|
289 |
<div id="orai-info">
|
@@ -301,6 +301,7 @@ with demo:
|
|
301 |
</div>
|
302 |
</div>
|
303 |
<p>""")
|
|
|
304 |
demo.queue(max_size=1)
|
305 |
#demo.launch(share=False, max_threads=3, auth=(os.getenv("username"), os.getenv("password")), auth_message="Please provide a username and a password.")
|
306 |
demo.launch(share=False, max_threads=3)
|
|
|
283 |
The recordings are not saved and are automatically removed.
|
284 |
""")
|
285 |
ok_button = gr.Button("OK", elem_id="popup-button")
|
286 |
+
|
287 |
|
288 |
gr.HTML("""
|
289 |
<div id="orai-info">
|
|
|
301 |
</div>
|
302 |
</div>
|
303 |
<p>""")
|
304 |
+
demo.load(fn=show_popup, outputs=popup)
|
305 |
demo.queue(max_size=1)
|
306 |
#demo.launch(share=False, max_threads=3, auth=(os.getenv("username"), os.getenv("password")), auth_message="Please provide a username and a password.")
|
307 |
demo.launch(share=False, max_threads=3)
|