Updated app at lör 11 nov 2023 16:06:56 CET
Browse files- app.py +20 -0
- requirements.txt +1 -1
app.py
CHANGED
|
@@ -68,3 +68,23 @@ demo = gr.Interface(
|
|
| 68 |
|
| 69 |
print("Launching gradio...")
|
| 70 |
demo.launch(debug=True)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 68 |
|
| 69 |
print("Launching gradio...")
|
| 70 |
demo.launch(debug=True)
|
| 71 |
+
|
| 72 |
+
"""
|
| 73 |
+
Logging in to Hopsworks...
|
| 74 |
+
Connected. Call `.close()` to terminate connection gracefully.
|
| 75 |
+
|
| 76 |
+
Logged in to project, explore it here https://c.app.hopsworks.ai:443/p/201877
|
| 77 |
+
Getting feature store...
|
| 78 |
+
Connected. Call `.close()` to terminate connection gracefully.
|
| 79 |
+
Getting model registry...
|
| 80 |
+
Connected. Call `.close()` to terminate connection gracefully.
|
| 81 |
+
Getting model: ...
|
| 82 |
+
Downloading model...
|
| 83 |
+
Downloading file ... Initializing model locally...
|
| 84 |
+
Gradio version: 4.1.2
|
| 85 |
+
Configuring gradio interface...
|
| 86 |
+
Traceback (most recent call last):
|
| 87 |
+
File "/home/user/app/app.py", line 62, in <module>
|
| 88 |
+
gr.inputs.Number(default=2.0, label="sepal length (cm)"),
|
| 89 |
+
AttributeError: module 'gradio' has no attribute 'inputs
|
| 90 |
+
"""
|
requirements.txt
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
hopsworks
|
| 2 |
joblib
|
| 3 |
scikit-learn==1.1.1
|
| 4 |
-
gradio
|
| 5 |
pandas
|
| 6 |
requests
|
|
|
|
| 1 |
hopsworks
|
| 2 |
joblib
|
| 3 |
scikit-learn==1.1.1
|
| 4 |
+
gradio==3.14.0
|
| 5 |
pandas
|
| 6 |
requests
|