patrickvonplaten
commited on
Commit
β’
acea2e9
1
Parent(s):
7401570
uP
Browse files- __pycache__/app.cpython-39.pyc +0 -0
- app.py +15 -22
__pycache__/app.cpython-39.pyc
CHANGED
Binary files a/__pycache__/app.cpython-39.pyc and b/__pycache__/app.cpython-39.pyc differ
|
|
app.py
CHANGED
@@ -28,7 +28,7 @@ LINKS = {
|
|
28 |
}
|
29 |
SD_1_5_RESULT = """
|
30 |
"## The traditional one π₯!
|
31 |
-
![img](https://huggingface.co/datasets/OpenGenAI/logos/
|
32 |
\n You mostly resonate with **Stable Diffusion 1-5** released by RunwayML.
|
33 |
\n Stable Diffusion 1-5 is the most used open-source text-to-image model offering an amazing speed-to-image-quality trade-off!
|
34 |
\n Check out your soulmate [here](https://huggingface.co/runwayml/stable-diffusion-v1-5).
|
@@ -42,7 +42,7 @@ Try it out [here](https://huggingface.co/stabilityai/stable-diffusion-2-1).
|
|
42 |
"""
|
43 |
IF_V1_0 = """
|
44 |
## The powerful one β‘!
|
45 |
-
![img](https://huggingface.co/datasets/OpenGenAI/logos/
|
46 |
\n You mostly resonate with **IF v1-0** released by DeepFloyd.
|
47 |
\n IF v1-0 is by far the largest of the open-sourced text-to-image models and is a very powerful image generator.
|
48 |
\n Besides being able to generate multiple complex concepts in the same image, IF v1-0 is also extremely good at generating text in images.
|
@@ -50,7 +50,7 @@ IF_V1_0 = """
|
|
50 |
"""
|
51 |
KARLO = """
|
52 |
## The precise one π―!
|
53 |
-
![img](https://huggingface.co/datasets/OpenGenAI/logos/
|
54 |
\n You mostly resonate with **Karlo** released by KakaoBrain.
|
55 |
\n Karlo is based on the same architecture as DALLE-2 and has been trained on the [well curated COYO dataset](https://huggingface.co/datasets/kakaobrain/coyo-700m).
|
56 |
\n Play around with it [here]("https://huggingface.co/kakaobrain/karlo-v1-alpha").
|
@@ -219,28 +219,22 @@ def change_view(row_number, dataframe):
|
|
219 |
}
|
220 |
|
221 |
|
222 |
-
TITLE = "# What's Your AI Gen Personality
|
223 |
|
224 |
DESCRIPTION = """
|
225 |
-
|
226 |
-
|
227 |
-
\n
|
228 |
-
\n
|
|
|
|
|
229 |
"""
|
230 |
-
EXPLANATION = """\n\n
|
231 |
-
## What to do π \n\n
|
232 |
|
233 |
-
|
234 |
-
|
235 |
-
|
236 |
-
|
237 |
-
|
238 |
-
NOTE = """
|
239 |
-
The prompts you are shown originate from the [Parti Prompts](https://huggingface.co/datasets/nateraw/parti-prompts) dataset.
|
240 |
-
Parti Prompts is designed to test text-to-image AI models on 1600+ prompts of varying difficulty and categories.
|
241 |
-
The images you are shown have been pre-generated with 4 state-of-the-art open-sourced text-to-image models. \n\n
|
242 |
-
You answers will be used to contribute to the official [**Open Parti Prompts Leaderboard**](https://huggingface.co/spaces/OpenGenAI/parti-prompts-leaderboard). \n
|
243 |
-
By playing this game, you are greatly helping the community to have a better, **human-preference-aligned** metric to compare text-to-image models β€οΈ. \n\n
|
244 |
Every month, the generated images will be updated with possibly improved models.
|
245 |
"""
|
246 |
|
@@ -250,7 +244,6 @@ with gr.Blocks() as demo:
|
|
250 |
gr.Markdown(TITLE)
|
251 |
with gr.Column(visible=True) as intro_view:
|
252 |
gr.Markdown(DESCRIPTION)
|
253 |
-
gr.Markdown(EXPLANATION)
|
254 |
|
255 |
headers = ["prompt", "result", "id", "Challenge", "Category", "Note"] + [
|
256 |
f"choice_{i}" for i in range(len(SUBMISSIONS))
|
|
|
28 |
}
|
29 |
SD_1_5_RESULT = """
|
30 |
"## The traditional one π₯!
|
31 |
+
![img](https://huggingface.co/datasets/OpenGenAI/logos/resolve/main/37351293.png)
|
32 |
\n You mostly resonate with **Stable Diffusion 1-5** released by RunwayML.
|
33 |
\n Stable Diffusion 1-5 is the most used open-source text-to-image model offering an amazing speed-to-image-quality trade-off!
|
34 |
\n Check out your soulmate [here](https://huggingface.co/runwayml/stable-diffusion-v1-5).
|
|
|
42 |
"""
|
43 |
IF_V1_0 = """
|
44 |
## The powerful one β‘!
|
45 |
+
![img](https://huggingface.co/datasets/OpenGenAI/logos/resolve/main/1662453741854-63170739dc97a974718be2c7.png)
|
46 |
\n You mostly resonate with **IF v1-0** released by DeepFloyd.
|
47 |
\n IF v1-0 is by far the largest of the open-sourced text-to-image models and is a very powerful image generator.
|
48 |
\n Besides being able to generate multiple complex concepts in the same image, IF v1-0 is also extremely good at generating text in images.
|
|
|
50 |
"""
|
51 |
KARLO = """
|
52 |
## The precise one π―!
|
53 |
+
![img](https://huggingface.co/datasets/OpenGenAI/logos/resolve/main/1670220967262-615ed619c807b26d117a49bd.png)
|
54 |
\n You mostly resonate with **Karlo** released by KakaoBrain.
|
55 |
\n Karlo is based on the same architecture as DALLE-2 and has been trained on the [well curated COYO dataset](https://huggingface.co/datasets/kakaobrain/coyo-700m).
|
56 |
\n Play around with it [here]("https://huggingface.co/kakaobrain/karlo-v1-alpha").
|
|
|
219 |
}
|
220 |
|
221 |
|
222 |
+
TITLE = "# What's Your AI Gen Personality? π§¬"
|
223 |
|
224 |
DESCRIPTION = """
|
225 |
+
***How it works*** π \n\n
|
226 |
+
- Upon clicking start, you are shown image descriptions alongside four AI generated images.
|
227 |
+
\n- Select the image that best fits the image description.
|
228 |
+
\n- Answer **10** questions to find out what AI generator most resonates with you.
|
229 |
+
\n- Your submissions contribute to [**Open Parti Prompts Leaderboard**](https://huggingface.co/spaces/OpenGenAI/parti-prompts-leaderboard) β€οΈ.
|
230 |
+
\n\n
|
231 |
"""
|
|
|
|
|
232 |
|
233 |
+
NOTE = """\n\n\n\n
|
234 |
+
The prompts you are shown originate from the [Parti Prompts](https://huggingface.co/datasets/nateraw/parti-prompts) dataset.
|
235 |
+
Parti Prompts is designed to test text-to-image AI models on 1600+ prompts of varying difficulty and categories.
|
236 |
+
The images you are shown have been pre-generated with 4 state-of-the-art open-sourced text-to-image models.
|
237 |
+
You answers will be used to contribute to the official [**Open Parti Prompts Leaderboard**](https://huggingface.co/spaces/OpenGenAI/parti-prompts-leaderboard).
|
|
|
|
|
|
|
|
|
|
|
|
|
238 |
Every month, the generated images will be updated with possibly improved models.
|
239 |
"""
|
240 |
|
|
|
244 |
gr.Markdown(TITLE)
|
245 |
with gr.Column(visible=True) as intro_view:
|
246 |
gr.Markdown(DESCRIPTION)
|
|
|
247 |
|
248 |
headers = ["prompt", "result", "id", "Challenge", "Category", "Note"] + [
|
249 |
f"choice_{i}" for i in range(len(SUBMISSIONS))
|