Spaces:
Sleeping
Sleeping
GitHub Actions
commited on
Commit
·
f281169
1
Parent(s):
7b0aaea
Sync App from main repo
Browse files
README.md
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
title: hadt Web app
|
| 3 |
+
emoji: 🫀
|
| 4 |
+
colorFrom: red
|
| 5 |
+
colorTo: pink
|
| 6 |
+
sdk: streamlit # Since this is a Streamlit app
|
| 7 |
+
sdk_version: "1.16.0" # Streamlit version to use (e.g., "1.16.0")
|
| 8 |
+
app_file: app.py # Entry point of your Streamlit app
|
| 9 |
+
pinned: false # Change to true if you want this Space pinned in your profile
|
| 10 |
+
---
|
| 11 |
+
|
| 12 |
+
# HADT Web app
|
| 13 |
+
|
| 14 |
+
This is web app for the hadt project.
|
app.py
CHANGED
|
@@ -25,7 +25,7 @@ if uploaded_file is not None:
|
|
| 25 |
|
| 26 |
# Call the API
|
| 27 |
response = requests.post(
|
| 28 |
-
"https://
|
| 29 |
json={"model_name": model, "input_data": df},
|
| 30 |
)
|
| 31 |
|
|
|
|
| 25 |
|
| 26 |
# Call the API
|
| 27 |
response = requests.post(
|
| 28 |
+
"https://fabriciojm-hadt-api.hf.space/predict/",
|
| 29 |
json={"model_name": model, "input_data": df},
|
| 30 |
)
|
| 31 |
|