added queue option
Browse files
app.py
CHANGED
@@ -76,10 +76,10 @@ with block:
|
|
76 |
gr.Markdown(
|
77 |
"""# Gradio-powered leaderboard for the DreamBooth Hackathon
|
78 |
|
79 |
-
Welcome to this Gradio-powered leaderboard! Select a theme and one of the dreambooth models trained by
|
80 |
<br>**If you like a model demo, click on the model name in the table below and UPVOTE the model on Huggingface hub**<br><br>
|
81 |
-
DreamBooth Hackathon - is an ongoing community event where
|
82 |
-
This competition
|
83 |
"""
|
84 |
)
|
85 |
with gr.Row():
|
@@ -158,5 +158,5 @@ with block:
|
|
158 |
block.load(get_submissions, inputs=[gr.Variable("landscape"), prompt_in], outputs=landscape_data)
|
159 |
block.load(get_submissions, inputs=[gr.Variable("wildcard"), prompt_in], outputs=wildcard_data)
|
160 |
|
161 |
-
|
162 |
block.launch()
|
|
|
76 |
gr.Markdown(
|
77 |
"""# Gradio-powered leaderboard for the DreamBooth Hackathon
|
78 |
|
79 |
+
Welcome to this Gradio-powered leaderboard! Select a theme and one of the dreambooth models trained by hackathon-participants, and key in your prompt as shown (eg., a photo of Shiba dog in a jungle). Note that, the image generation might take long (around 400 seconds) as it will have to load the respective model pipeline into memory.
|
80 |
<br>**If you like a model demo, click on the model name in the table below and UPVOTE the model on Huggingface hub**<br><br>
|
81 |
+
DreamBooth Hackathon - is an ongoing community event where participants **personalize a Stable Diffusion model** by fine-tuning it with a powerful technique called [_DreamBooth_](https://arxiv.org/abs/2208.12242). This technique allows one to implant a subject into the output domain of the model such that it can be synthesized with a _unique identifier_ (eg., shiba dog) in the prompt.
|
82 |
+
This competition comprises 5 _themes_ - Animals, Science, Food, Landscapes, and Wildcards. For details on how to participate, check out the hackathon's guide [here](https://github.com/huggingface/diffusion-models-class/blob/main/hackathon/README.md).
|
83 |
"""
|
84 |
)
|
85 |
with gr.Row():
|
|
|
158 |
block.load(get_submissions, inputs=[gr.Variable("landscape"), prompt_in], outputs=landscape_data)
|
159 |
block.load(get_submissions, inputs=[gr.Variable("wildcard"), prompt_in], outputs=wildcard_data)
|
160 |
|
161 |
+
block.queue(concurrency_count=3)
|
162 |
block.launch()
|