Disable embedding

#17
by radames - opened
Files changed (2) hide show
  1. README.md +1 -0
  2. app.py +2 -2
README.md CHANGED
@@ -8,4 +8,5 @@ sdk_version: 4.4.0
8
  app_file: app.py
9
  pinned: false
10
  license: other
 
11
  ---
 
8
  app_file: app.py
9
  pinned: false
10
  license: other
11
+ disable_embedding: true
12
  ---
app.py CHANGED
@@ -121,5 +121,5 @@ with gr.Blocks() as demo:
121
  )
122
 
123
  if __name__ == "__main__":
124
- demo.queue(max_size=20)
125
- demo.launch(share=True)
 
121
  )
122
 
123
  if __name__ == "__main__":
124
+ demo.queue(max_size=20, api_open=False)
125
+ demo.launch(share=True, show_api=False)