Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -28,10 +28,8 @@ def generate(starting_text):
|
|
| 28 |
|
| 29 |
if response_end != "":
|
| 30 |
return response_end
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
theme = grad.themes.Glass(
|
| 35 |
primary_hue="rose",
|
| 36 |
secondary_hue="indigo",
|
| 37 |
neutral_hue=gr.themes.Color(c100="#d1fae5", c200="#a7f3d0", c300="#6ee7b7", c400="#34d399", c50="#131514", c500="#0a0b0a", c600="#059669", c700="#047857", c800="#065f46", c900="#064e3b", c950="#054436"),
|
|
|
|
| 28 |
|
| 29 |
if response_end != "":
|
| 30 |
return response_end
|
| 31 |
+
|
| 32 |
+
with grad.Blocks(theme = grad.themes.Glass(
|
|
|
|
|
|
|
| 33 |
primary_hue="rose",
|
| 34 |
secondary_hue="indigo",
|
| 35 |
neutral_hue=gr.themes.Color(c100="#d1fae5", c200="#a7f3d0", c300="#6ee7b7", c400="#34d399", c50="#131514", c500="#0a0b0a", c600="#059669", c700="#047857", c800="#065f46", c900="#064e3b", c950="#054436"),
|