pavithra-devi commited on
Commit
029ea88
·
1 Parent(s): 733c886

kind of final app

Browse files
Files changed (1) hide show
  1. app.py +8 -4
app.py CHANGED
@@ -37,11 +37,15 @@ with gr.Row():
37
  input_interfaces.append(input_text_box)
38
 
39
 
40
- with gr.Row():
41
- predict_but = gr.Button("Predict")
 
42
 
43
 
44
  # Add the button actions.
45
- predict_but.click(predict, inputs=input_interfaces, outputs=output_text_box)
 
 
 
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()