runaksh commited on
Commit
7450a2c
·
1 Parent(s): 974f83c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -26,10 +26,10 @@ description = "Enter the Symptoms to know the disease"
26
  # Gradio elements
27
 
28
  # Input from user
29
- in_prompt = gradio.inputs.Textbox(lines=2, label='Enter the Symptoms')
30
 
31
  # Output response
32
- out_response = gradio.outputs.Textbox(label='Disease')
33
 
34
  # Gradio interface to generate UI link
35
  iface = gradio.Interface(fn=predict,
 
26
  # Gradio elements
27
 
28
  # Input from user
29
+ in_prompt = gradio.components.Textbox(lines=2, label='Enter the Symptoms')
30
 
31
  # Output response
32
+ out_response = gradio.components.Textbox(label='Disease')
33
 
34
  # Gradio interface to generate UI link
35
  iface = gradio.Interface(fn=predict,