kristianfischerai12345 commited on
Commit
becdb13
·
verified ·
1 Parent(s): 994a85f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
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).launch()
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).launch()
 
 
 
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()