manan commited on
Commit
4a2afb3
1 Parent(s): 47146d8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -5
app.py CHANGED
@@ -2,14 +2,11 @@ import gradio as gr
2
  import model
3
 
4
 
5
- input_1 = gr.inputs.Textbox(lines=5, placeholder='Patient History', default="", label=None, optional=False)
6
- input_2 = gr.inputs.Textbox(lines=1, placeholder='Feature Text', default="", label=None, optional=False)
7
 
8
  output_1 = gr.outputs.Textbox(type="auto", label=None)
9
 
10
- # iface = gr.Interface(fn= ... jo bhi code hai)
11
- # iface.launch( enable_queue=True)
12
-
13
  iface = gr.Interface(
14
  model.get_predictions,
15
  inputs=[input_1, input_2],
 
2
  import model
3
 
4
 
5
+ input_1 = gr.inputs.Textbox(lines=1, placeholder='Feature Text', default="", label=None, optional=False)
6
+ input_2 = gr.inputs.Textbox(lines=5, placeholder='Patient History', default="", label=None, optional=False)
7
 
8
  output_1 = gr.outputs.Textbox(type="auto", label=None)
9
 
 
 
 
10
  iface = gr.Interface(
11
  model.get_predictions,
12
  inputs=[input_1, input_2],