anakin87 commited on
Commit
47d2c35
β€’
1 Parent(s): 5c784f3

small improvements

Browse files
Files changed (1) hide show
  1. app.py +6 -5
app.py CHANGED
@@ -193,7 +193,9 @@ with open("README.md", "r") as fin:
193
  )
194
 
195
 
196
- with gr.Blocks(theme=gr.themes.Soft(primary_hue="sky")) as demo:
 
 
197
  gr.Markdown(HEADER)
198
  quiz = gr.State({})
199
  with gr.Tabs() as tabs:
@@ -331,8 +333,7 @@ with gr.Blocks(theme=gr.themes.Soft(primary_hue="sky")) as demo:
331
 
332
 
333
  demo.queue(default_concurrency_limit=5).launch(
334
- show_api=False, server_name="0.0.0.0", allowed_paths=["/"]
 
 
335
  )
336
-
337
-
338
- demo.launch()
 
193
  )
194
 
195
 
196
+ with gr.Blocks(
197
+ theme=gr.themes.Soft(primary_hue="sky"), css="footer{display:none !important}"
198
+ ) as demo:
199
  gr.Markdown(HEADER)
200
  quiz = gr.State({})
201
  with gr.Tabs() as tabs:
 
333
 
334
 
335
  demo.queue(default_concurrency_limit=5).launch(
336
+ show_api=False,
337
+ server_name="0.0.0.0",
338
+ allowed_paths=["/"],
339
  )