Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -32,7 +32,7 @@ output_format=gr.Dataframe(row_count=(3,"dynamic"),col_count=(2,"fixed"),label="
|
|
| 32 |
#lets write something that accepts input as text and returns the most likely out come out of 3
|
| 33 |
demo=gr.Interface(
|
| 34 |
fn=model_classifier,
|
| 35 |
-
inputs=gr.
|
| 36 |
outputs=output_format,
|
| 37 |
title="Hate Classifier Demo App"
|
| 38 |
)
|
|
|
|
| 32 |
#lets write something that accepts input as text and returns the most likely out come out of 3
|
| 33 |
demo=gr.Interface(
|
| 34 |
fn=model_classifier,
|
| 35 |
+
inputs=gr.Textbox(lines=5,label="Enter you text"),
|
| 36 |
outputs=output_format,
|
| 37 |
title="Hate Classifier Demo App"
|
| 38 |
)
|