mpkato commited on
Commit
72324cd
·
verified ·
1 Parent(s): 6974ba5

Upload app.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -97,7 +97,7 @@ def extract(text: str):
97
  return spans
98
 
99
 
100
- with gr.Blocks(title=TITLE) as demo:
101
  gr.Markdown(f"# {TITLE}")
102
  gr.Markdown(DESCRIPTION)
103
  with gr.Row():
@@ -130,4 +130,4 @@ with gr.Blocks(title=TITLE) as demo:
130
 
131
 
132
  if __name__ == "__main__":
133
- demo.launch(theme=gr.themes.Soft())
 
97
  return spans
98
 
99
 
100
+ with gr.Blocks(title=TITLE, theme=gr.themes.Soft()) as demo:
101
  gr.Markdown(f"# {TITLE}")
102
  gr.Markdown(DESCRIPTION)
103
  with gr.Row():
 
130
 
131
 
132
  if __name__ == "__main__":
133
+ demo.launch()