Spaces:
Runtime error
Runtime error
Commit ·
ac1604e
1
Parent(s): 80cb31d
Update app.py
Browse files
app.py
CHANGED
|
@@ -2,9 +2,22 @@ import gradio as gr
|
|
| 2 |
import pandas as pd
|
| 3 |
|
| 4 |
def value_func():
|
| 5 |
-
return pd.DataFrame({"Name": ["SD-XL", "SSD-1B", "Delibarate"
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6 |
|
| 7 |
with gr.Blocks() as demo:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
gr.DataFrame(value=value_func)
|
| 9 |
|
| 10 |
-
demo.launch()
|
|
|
|
| 2 |
import pandas as pd
|
| 3 |
|
| 4 |
def value_func():
|
| 5 |
+
return pd.DataFrame({"Name": ["[SD-XL](https://huggingface.co/stabilityai/stable-diffusion-xl-base-1.0)", "[SSD-1B](https://huggingface.co/segmind/SSD-1B)", "[Delibarate-V3](https://huggingface.co/stablediffusionapi/deliberate-v3)", "[DALLE•3-XL](https://huggingface.co/openskyml/dalle-3-xl)", "[Midjourney-V4-XL](https://huggingface.co/openskyml/midjourney-v4-xl)"],
|
| 6 |
+
"LCM-LoRA": ["[True](https://huggingface.co/openskyml/lcm-lora-stable-diffusion-xl)", "[True](https://huggingface.co/openskyml/lcm-lora-ssd-1b)", "False", "False", "False"],
|
| 7 |
+
"Dev by": ["[StabilityAI](https://huggingface.co/stabilityai)", "[Segmind AI](https://huggingface.co/segmind)", "[XpucT](https://huggingface.co/XpucT)", "[OpenSkyML](https://huggingface.co/openskyml)", "[OpenSkyML](https://huggingface.co/openskyml)"],
|
| 8 |
+
|
| 9 |
+
})
|
| 10 |
|
| 11 |
with gr.Blocks() as demo:
|
| 12 |
+
gr.Markdown("""
|
| 13 |
+
# 🎖️ Diffusion Models Leaderboard
|
| 14 |
+
|
| 15 |
+
🤗 Using this simple table you can familiarize yourself with good Diffusion models on HuggingFace.
|
| 16 |
+
|
| 17 |
+
🤩 The Leaderboard is made by OpenSkyML and is based on subjective opinion.
|
| 18 |
+
|
| 19 |
+
""")
|
| 20 |
+
|
| 21 |
gr.DataFrame(value=value_func)
|
| 22 |
|
| 23 |
+
demo.launch(show_api=False)
|