wenkai commited on
Commit
423b7e8
·
verified ·
1 Parent(s): 4687c1d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -11,7 +11,5 @@ hf_hub_download(repo_id="wenkai/FAPM", filename="model/checkpoint_bp1.pth")
11
  with gr.Blocks() as demo:
12
  dropdown = gr.Dropdown(label="Country", choices=["USA", "Pakistan"], value="USA")
13
  textbox = gr.Textbox()
14
- examples = gr.Examples([["Chicago"], ["Little Rock"], ["San Francisco"]], textbox)
15
- dropdown.change(update_examples, dropdown, examples.dataset)
16
 
17
- demo.launch(share=True)
 
11
  with gr.Blocks() as demo:
12
  dropdown = gr.Dropdown(label="Country", choices=["USA", "Pakistan"], value="USA")
13
  textbox = gr.Textbox()
 
 
14
 
15
+ demo.launch()