ruslanmv commited on
Commit
c206d32
·
verified ·
1 Parent(s): 751b536

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -5
app.py CHANGED
@@ -93,8 +93,8 @@ welcome_message = '''
93
  iface = gr.Interface(
94
  fn=askme,
95
  inputs=[
96
- gr.inputs.Textbox(lines=2, label="Symptoms", placeholder="Enter symptoms here"),
97
- gr.inputs.Textbox(lines=2, label="Question", placeholder="Enter question here")
98
  ],
99
  outputs="text",
100
  examples=examples,
@@ -104,6 +104,4 @@ iface = gr.Interface(
104
  )
105
 
106
  iface.set_welcome(welcome_message)
107
- iface.launch()
108
-
109
-
 
93
  iface = gr.Interface(
94
  fn=askme,
95
  inputs=[
96
+ gr.Input(label="Symptoms", type="text", placeholder="Enter symptoms here"),
97
+ gr.Input(label="Question", type="text", placeholder="Enter question here")
98
  ],
99
  outputs="text",
100
  examples=examples,
 
104
  )
105
 
106
  iface.set_welcome(welcome_message)
107
+ iface.launch()