Spaces:
Sleeping
Sleeping
Commit
·
029ea88
1
Parent(s):
733c886
kind of final app
Browse files
app.py
CHANGED
@@ -37,11 +37,15 @@ with gr.Row():
|
|
37 |
input_interfaces.append(input_text_box)
|
38 |
|
39 |
|
40 |
-
|
41 |
-
|
|
|
42 |
|
43 |
|
44 |
# Add the button actions.
|
45 |
-
|
|
|
|
|
|
|
46 |
|
47 |
-
app.launch()
|
|
|
37 |
input_interfaces.append(input_text_box)
|
38 |
|
39 |
|
40 |
+
|
41 |
+
# with gr.Row():
|
42 |
+
# predict_but = gr.Button("Predict")
|
43 |
|
44 |
|
45 |
# Add the button actions.
|
46 |
+
gr.Interface(predict,
|
47 |
+
inputs=input_interfaces,
|
48 |
+
outputs=output_text_box)
|
49 |
+
# predict_but.click(predict, inputs=input_interfaces, outputs=output_text_box)
|
50 |
|
51 |
+
app.launch()
|