Spaces:
Runtime error
Runtime error
hamdanhh07
commited on
Commit
•
d2aab21
1
Parent(s):
f4948f6
Update app.py
Browse files
app.py
CHANGED
@@ -16,8 +16,7 @@ def query(filename):
|
|
16 |
response = requests.post(API_URL, headers=headers, data=data)
|
17 |
return response.json()
|
18 |
|
19 |
-
|
20 |
-
app = gr.Blocks()
|
21 |
with app:
|
22 |
gr.Markdown("# **<p align='center'>Video Classification with Timesformer</p>**")
|
23 |
gr.Markdown(
|
@@ -40,4 +39,6 @@ with app:
|
|
40 |
|
41 |
title = "COVID-19 Detection in Ultrasound Imagery Using Artificial intelligent Methods"
|
42 |
description = "[Trained on 500 data using Hugging Face dataset."
|
43 |
-
gr.Interface.load("models/hamdan07/UltraSound-Lung",examples=example_list,title=title,description=description,Markdown=app)
|
|
|
|
|
|
16 |
response = requests.post(API_URL, headers=headers, data=data)
|
17 |
return response.json()
|
18 |
|
19 |
+
app = gr.Blocks()
|
|
|
20 |
with app:
|
21 |
gr.Markdown("# **<p align='center'>Video Classification with Timesformer</p>**")
|
22 |
gr.Markdown(
|
|
|
39 |
|
40 |
title = "COVID-19 Detection in Ultrasound Imagery Using Artificial intelligent Methods"
|
41 |
description = "[Trained on 500 data using Hugging Face dataset."
|
42 |
+
gr.Interface.load("models/hamdan07/UltraSound-Lung",examples=example_list,title=title,description=description,Markdown=app)
|
43 |
+
|
44 |
+
app.launch(debug=False,share=False)
|