Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -96,8 +96,7 @@ with app:
|
|
96 |
with gr.Row():
|
97 |
btn3 = gr.Button("Predict for Model 3")
|
98 |
with gr.Row():
|
99 |
-
out_3 = gr.Textbox(label="Prediction for Model 3")
|
100 |
-
classifier = pipeline("text-classification", model=model_id_3)
|
101 |
btn3.click(fn=get_prediction(model_id_2), inputs=inp_1, outputs=out_3)
|
102 |
|
103 |
app.launch()
|
|
|
96 |
with gr.Row():
|
97 |
btn3 = gr.Button("Predict for Model 3")
|
98 |
with gr.Row():
|
99 |
+
out_3 = gr.Textbox(label="Prediction for Model 3")
|
|
|
100 |
btn3.click(fn=get_prediction(model_id_2), inputs=inp_1, outputs=out_3)
|
101 |
|
102 |
app.launch()
|