runaksh commited on
Commit
3bd970c
·
1 Parent(s): f5278d2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -21,7 +21,7 @@ def predict(sample, validate=True):
21
  return pred
22
 
23
  title = "Symptoms and Disease"
24
- description = "Enter the Symptoms to know the associated disease"
25
 
26
  # Gradio elements
27
 
@@ -34,7 +34,9 @@ out_response = gradio.outputs.Textbox(label='Disease')
34
  # Gradio interface to generate UI link
35
  iface = gradio.Interface(fn=predict,
36
  inputs = in_prompt,
37
- outputs = out_response
 
 
38
  )
39
 
40
  iface.launch(debug = True)
 
21
  return pred
22
 
23
  title = "Symptoms and Disease"
24
+ description = "Enter the Symptoms to know the disease"
25
 
26
  # Gradio elements
27
 
 
34
  # Gradio interface to generate UI link
35
  iface = gradio.Interface(fn=predict,
36
  inputs = in_prompt,
37
+ outputs = out_response,
38
+ title=title,
39
+ description=description
40
  )
41
 
42
  iface.launch(debug = True)