Spaces:
Sleeping
Sleeping
Commit ·
ca85bb6
1
Parent(s): 78ee187
gradio
Browse files- README.md +1 -0
- app.py +1 -1
- requirements.txt +3 -2
README.md
CHANGED
|
@@ -11,3 +11,4 @@ short_description: Repository for Lab2 assignment of the Mlops course
|
|
| 11 |
---
|
| 12 |
|
| 13 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
|
|
| 11 |
---
|
| 12 |
|
| 13 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
| 14 |
+
|
app.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
import requests
|
| 3 |
|
| 4 |
-
API_URL = "https://
|
| 5 |
|
| 6 |
def obtain_pred():
|
| 7 |
try:
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
import requests
|
| 3 |
|
| 4 |
+
API_URL = "https://firstcontainer-latest.onrender.com/predict"
|
| 5 |
|
| 6 |
def obtain_pred():
|
| 7 |
try:
|
requirements.txt
CHANGED
|
@@ -1,2 +1,3 @@
|
|
| 1 |
-
gradio
|
| 2 |
-
requests
|
|
|
|
|
|
| 1 |
+
gradio>=3.50
|
| 2 |
+
requests>=2.30
|
| 3 |
+
Pillow>=10.0
|