Spaces:
Runtime error
Runtime error
Added results
Browse files
app.py
CHANGED
|
@@ -49,6 +49,7 @@ def wine_quality(type, fixed_acidity, volatile_acidity, citric_acid, residual_su
|
|
| 49 |
# 'res' is a list of predictions returned as the label.
|
| 50 |
res = model.predict(df)
|
| 51 |
print(res)
|
|
|
|
| 52 |
|
| 53 |
demo = gr.Interface(
|
| 54 |
fn=wine_quality,
|
|
|
|
| 49 |
# 'res' is a list of predictions returned as the label.
|
| 50 |
res = model.predict(df)
|
| 51 |
print(res)
|
| 52 |
+
return res[0]
|
| 53 |
|
| 54 |
demo = gr.Interface(
|
| 55 |
fn=wine_quality,
|