Spaces:
Sleeping
Sleeping
Update run.py
Browse files
run.py
CHANGED
|
@@ -6,7 +6,10 @@ from gradio_client.documentation import document_fn
|
|
| 6 |
|
| 7 |
import gradio as gr
|
| 8 |
|
|
|
|
|
|
|
| 9 |
themes = [
|
|
|
|
| 10 |
gr.themes.Base,
|
| 11 |
gr.themes.Default,
|
| 12 |
gr.themes.Soft,
|
|
@@ -19,6 +22,8 @@ themes = [
|
|
| 19 |
colors = gr.themes.Color.all
|
| 20 |
sizes = gr.themes.Size.all
|
| 21 |
|
|
|
|
|
|
|
| 22 |
palette_range = [50, 100, 200, 300, 400, 500, 600, 700, 800, 900, 950]
|
| 23 |
size_range = ["xxs", "xs", "sm", "md", "lg", "xl", "xxl"]
|
| 24 |
docs_theme_core = document_fn(gr.themes.Base.__init__, gr.themes.Base)[1]
|
|
|
|
| 6 |
|
| 7 |
import gradio as gr
|
| 8 |
|
| 9 |
+
from canva_theme import CanvaTheme
|
| 10 |
+
|
| 11 |
themes = [
|
| 12 |
+
CanvaTheme,
|
| 13 |
gr.themes.Base,
|
| 14 |
gr.themes.Default,
|
| 15 |
gr.themes.Soft,
|
|
|
|
| 22 |
colors = gr.themes.Color.all
|
| 23 |
sizes = gr.themes.Size.all
|
| 24 |
|
| 25 |
+
|
| 26 |
+
|
| 27 |
palette_range = [50, 100, 200, 300, 400, 500, 600, 700, 800, 900, 950]
|
| 28 |
size_range = ["xxs", "xs", "sm", "md", "lg", "xl", "xxl"]
|
| 29 |
docs_theme_core = document_fn(gr.themes.Base.__init__, gr.themes.Base)[1]
|