Spaces:
Runtime error
Runtime error
hamdanhh07 commited on
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,10 +1,4 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
-
example_list = [['examples/cov1.png'],
|
| 3 |
-
['examples/cov2.jpg'],
|
| 4 |
-
['examples/nor1.jpg'],
|
| 5 |
-
['examples/nor2.jpg'],
|
| 6 |
-
['examples/penu1.jpg'],
|
| 7 |
-
['examples/penu2.jpg']]
|
| 8 |
import requests
|
| 9 |
|
| 10 |
API_URL = "https://api-inference.huggingface.co/models/hamdan07/UltraSound-Lung"
|
|
@@ -36,9 +30,17 @@ with app:
|
|
| 36 |
</p>
|
| 37 |
"""
|
| 38 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 39 |
|
| 40 |
-
|
| 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)
|
|
|
|
| 1 |
import gradio as gr
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
import requests
|
| 3 |
|
| 4 |
API_URL = "https://api-inference.huggingface.co/models/hamdan07/UltraSound-Lung"
|
|
|
|
| 30 |
</p>
|
| 31 |
"""
|
| 32 |
)
|
| 33 |
+
title = "COVID-19 Detection in Ultrasound Imagery Using Artificial intelligent Methods"
|
| 34 |
+
description = "[Trained on 500 data using Hugging Face dataset."
|
| 35 |
+
gr.Interface.load("models/hamdan07/UltraSound-Lung")
|
| 36 |
+
example_list = [['examples/cov1.png'],
|
| 37 |
+
['examples/cov2.jpg'],
|
| 38 |
+
['examples/nor1.jpg'],
|
| 39 |
+
['examples/nor2.jpg'],
|
| 40 |
+
['examples/penu1.jpg'],
|
| 41 |
+
['examples/penu2.jpg']]
|
| 42 |
+
|
| 43 |
|
| 44 |
+
|
|
|
|
|
|
|
| 45 |
|
| 46 |
app.launch(debug=False,share=False)
|