Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -29,7 +29,7 @@ def generate(starting_text):
|
|
| 29 |
if response_end != "":
|
| 30 |
return response_end
|
| 31 |
|
| 32 |
-
with grad.Blocks(css='style.css') as demo:
|
| 33 |
grad.HTML(
|
| 34 |
"""
|
| 35 |
<div style="text-align: center; max-width: 650px; margin: 0 auto;">
|
|
@@ -86,4 +86,4 @@ with grad.Blocks(css='style.css') as demo:
|
|
| 86 |
run=generate,
|
| 87 |
inputs=txt,
|
| 88 |
outputs=out
|
| 89 |
-
demo.launch(
|
|
|
|
| 29 |
if response_end != "":
|
| 30 |
return response_end
|
| 31 |
|
| 32 |
+
with grad.Blocks(css='style.css, theme="dark"') as demo:
|
| 33 |
grad.HTML(
|
| 34 |
"""
|
| 35 |
<div style="text-align: center; max-width: 650px; margin: 0 auto;">
|
|
|
|
| 86 |
run=generate,
|
| 87 |
inputs=txt,
|
| 88 |
outputs=out
|
| 89 |
+
demo.launch()
|