Update app.py
Browse files
app.py
CHANGED
@@ -96,11 +96,13 @@ if __name__ == "__main__":
|
|
96 |
Response includes: response, error, and metadata fields.
|
97 |
""",
|
98 |
api_name="predict"
|
99 |
-
).queue(api_open=True)
|
100 |
|
101 |
gr.Interface(
|
102 |
fn=wake_up,
|
103 |
inputs=[],
|
104 |
outputs=gr.JSON(label="Response"),
|
105 |
api_name="wake-up"
|
106 |
-
).queue(api_open=True)
|
|
|
|
|
|
96 |
Response includes: response, error, and metadata fields.
|
97 |
""",
|
98 |
api_name="predict"
|
99 |
+
).queue(api_open=True)
|
100 |
|
101 |
gr.Interface(
|
102 |
fn=wake_up,
|
103 |
inputs=[],
|
104 |
outputs=gr.JSON(label="Response"),
|
105 |
api_name="wake-up"
|
106 |
+
).queue(api_open=True)
|
107 |
+
|
108 |
+
gr.launch()
|