ruslanmv commited on
Commit
2649af5
1 Parent(s): c206d32

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -4
app.py CHANGED
@@ -93,8 +93,8 @@ welcome_message = '''
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,
@@ -103,5 +103,4 @@ iface = gr.Interface(
103
  css=css
104
  )
105
 
106
- iface.set_welcome(welcome_message)
107
- iface.launch()
 
93
  iface = gr.Interface(
94
  fn=askme,
95
  inputs=[
96
+ gr.Textbox(label="Symptoms", placeholder="Enter symptoms here"),
97
+ gr.Textbox(label="Question", placeholder="Enter question here")
98
  ],
99
  outputs="text",
100
  examples=examples,
 
103
  css=css
104
  )
105
 
106
+ iface.launch()