Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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 |
-
|
| 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 |
-
|
| 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
|