Update app.py
Browse files
app.py
CHANGED
@@ -37,7 +37,7 @@ def predict_category(Title):
|
|
37 |
# Create the Gradio interfaces
|
38 |
iface = gr.Interface(
|
39 |
fn=predict_category,
|
40 |
-
inputs="
|
41 |
outputs=[
|
42 |
gr.Textbox(label="Prediction"),
|
43 |
gr.Dataframe(label="Probs", type='pandas')
|
|
|
37 |
# Create the Gradio interfaces
|
38 |
iface = gr.Interface(
|
39 |
fn=predict_category,
|
40 |
+
inputs=gr.Textbox(label="Title"),
|
41 |
outputs=[
|
42 |
gr.Textbox(label="Prediction"),
|
43 |
gr.Dataframe(label="Probs", type='pandas')
|