Update app.py
Browse files
app.py
CHANGED
|
@@ -1,11 +1,7 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
from huggingface_hub import hf_hub_download
|
| 3 |
|
| 4 |
-
|
| 5 |
-
if country == "USA":
|
| 6 |
-
return gr.Dataset(samples=[["Chicago"], ["Little Rock"], ["San Francisco"]])
|
| 7 |
-
else:
|
| 8 |
-
return gr.Dataset(samples=[["Islamabad"], ["Karachi"], ["Lahore"]])
|
| 9 |
|
| 10 |
hf_hub_download(repo_id="wenkai/FAPM", filename="model/checkpoint_bp1.pth")
|
| 11 |
with gr.Blocks() as demo:
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
from huggingface_hub import hf_hub_download
|
| 3 |
|
| 4 |
+
print("hello")
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
|
| 6 |
hf_hub_download(repo_id="wenkai/FAPM", filename="model/checkpoint_bp1.pth")
|
| 7 |
with gr.Blocks() as demo:
|