runaksh commited on
Commit
ef3d330
·
1 Parent(s): cabc901

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -55,13 +55,13 @@ out_response_2 = gradio.components.Textbox(label='Disease')
55
 
56
  # Gradio interface to generate UI link
57
  iface_2 = gradio.Interface(fn=predict,
58
- inputs = in_prompt_2,
59
- outputs = out_response_2,
60
  title=title_2,
61
  description=description_2
62
  )
63
 
64
- combined_interface = gradio.Interface(
65
  [
66
  iface_1,
67
  iface_2
@@ -70,6 +70,6 @@ combined_interface = gradio.Interface(
70
  description="This interface showcases multiple models"
71
  )
72
 
73
- combined_interface.launch(debug = True)
74
 
75
  #iface.launch(debug = True)#, server_name = "0.0.0.0", server_port = 8001) # Ref. for parameters: https://www.gradio.app/docs/interface
 
55
 
56
  # Gradio interface to generate UI link
57
  iface_2 = gradio.Interface(fn=predict,
58
+ inputs = [in_prompt_2],
59
+ outputs = [out_response_2],
60
  title=title_2,
61
  description=description_2
62
  )
63
 
64
+ iface = gradio.Interface(
65
  [
66
  iface_1,
67
  iface_2
 
70
  description="This interface showcases multiple models"
71
  )
72
 
73
+ iface.launch(debug = True)
74
 
75
  #iface.launch(debug = True)#, server_name = "0.0.0.0", server_port = 8001) # Ref. for parameters: https://www.gradio.app/docs/interface