Spaces:
Runtime error
Runtime error
made the gr table again and removed redundant code
Browse files
app.py
CHANGED
|
@@ -27,13 +27,8 @@ def model_classifier(text):
|
|
| 27 |
|
| 28 |
|
| 29 |
#lets define how the output looks like
|
| 30 |
-
output_format=gr.
|
| 31 |
-
columns=["label","probabilities"]
|
| 32 |
-
type="table",
|
| 33 |
-
show_index=False,
|
| 34 |
-
input_type="json",
|
| 35 |
-
max_rows=4,
|
| 36 |
-
max_columms=2
|
| 37 |
)
|
| 38 |
|
| 39 |
#lets write something that accepts input as text and returns the most likely out come out of 3
|
|
|
|
| 27 |
|
| 28 |
|
| 29 |
#lets define how the output looks like
|
| 30 |
+
output_format=gr.Table(
|
| 31 |
+
columns=["label","probabilities"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 32 |
)
|
| 33 |
|
| 34 |
#lets write something that accepts input as text and returns the most likely out come out of 3
|