imorcillo commited on
Commit
202bf02
·
verified ·
1 Parent(s): bb6e2f5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -20
app.py CHANGED
@@ -204,26 +204,8 @@ button.selected::after{
204
  """
205
 
206
 
207
- with gr.Blocks(css=css_content) as demo:
208
- show_btn = gr.Button("Show Popup")
209
-
210
- # The overlay layer
211
- popup = gr.Column(visible=False, elem_classes=["popup-overlay"])
212
- with popup:
213
- with gr.Column(elem_classes=["popup-box"]):
214
- gr.Markdown("""
215
- ### ℹ️ Notice
216
- The recordings are not saved and are automatically removed.
217
- """)
218
- ok_btn = gr.Button("OK", elem_classes=["popup-button"])
219
-
220
- show_btn.click(fn=show_popup, outputs=popup)
221
- ok_btn.click(fn=hide_popup, outputs=popup)
222
-
223
- demo.launch()
224
 
225
 
226
- '''
227
  demo = gr.Blocks(css=css_content) #, fill_width=True)
228
  with demo:
229
 
@@ -291,6 +273,7 @@ with demo:
291
 
292
  # Show on load
293
  demo.load(fn=show_popup, outputs=popup)
 
294
  ###################
295
 
296
  gr.HTML("""
@@ -312,5 +295,4 @@ with demo:
312
 
313
  demo.queue(max_size=1)
314
  #demo.launch(share=False, max_threads=3, auth=(os.getenv("username"), os.getenv("password")), auth_message="Please provide a username and a password.")
315
- demo.launch(share=False, max_threads=3)
316
- '''
 
204
  """
205
 
206
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
207
 
208
 
 
209
  demo = gr.Blocks(css=css_content) #, fill_width=True)
210
  with demo:
211
 
 
273
 
274
  # Show on load
275
  demo.load(fn=show_popup, outputs=popup)
276
+ gradio.Info("Grabaketak ez dira gordetzen eta automatikoki ezabatzen dira.")
277
  ###################
278
 
279
  gr.HTML("""
 
295
 
296
  demo.queue(max_size=1)
297
  #demo.launch(share=False, max_threads=3, auth=(os.getenv("username"), os.getenv("password")), auth_message="Please provide a username and a password.")
298
+ demo.launch(share=False, max_threads=3)