arthur-qiu commited on
Commit
bcfdc4b
1 Parent(s): 3c096a1
Files changed (2) hide show
  1. README.md +2 -0
  2. app.py +1 -2
README.md CHANGED
@@ -7,6 +7,8 @@ sdk: gradio
7
  sdk_version: 4.37.2
8
  app_file: app.py
9
  pinned: false
 
 
10
  ---
11
 
12
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
7
  sdk_version: 4.37.2
8
  app_file: app.py
9
  pinned: false
10
+ license: mit
11
+ short_description: text-to-image
12
  ---
13
 
14
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
app.py CHANGED
@@ -204,5 +204,4 @@ with gr.Blocks(css=css) as demo:
204
  outputs=[image_result],
205
  api_name="freescalehf")
206
 
207
- if __name__ == "__main__":
208
- demo.queue(max_size=8).launch(show_api=True)
 
204
  outputs=[image_result],
205
  api_name="freescalehf")
206
 
207
+ demo.queue(max_size=8).launch(show_api=True)