Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -25,7 +25,7 @@ outputs = [gr.Dataframe(row_count = (2, "dynamic"), col_count=(1, "fixed"), labe
|
|
25 |
|
26 |
|
27 |
def infer(inputs):
|
28 |
-
data = pd.DataFrame(inputs, columns=[
|
29 |
predictions = pipe.predict(inputs)
|
30 |
return pd.DataFrame(predictions, columns=["results"])
|
31 |
|
|
|
25 |
|
26 |
|
27 |
def infer(inputs):
|
28 |
+
data = pd.DataFrame(inputs, columns=[headers])
|
29 |
predictions = pipe.predict(inputs)
|
30 |
return pd.DataFrame(predictions, columns=["results"])
|
31 |
|