multimodalart HF staff radames commited on
Commit
bc89970
1 Parent(s): c237193

Disable embedding (#17)

Browse files

- Disable embedding (c24519df8557df804e3afdd9434695534704568e)
- disable API (51e28423882ba022b43afc0b911d849ae6326431)


Co-authored-by: Radamés Ajna <radames@users.noreply.huggingface.co>

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)