Spaces:
Sleeping
Sleeping
Petzys
commited on
Commit
·
21f15e9
1
Parent(s):
180e924
fix: add theme
Browse files
app.py
CHANGED
|
@@ -109,7 +109,7 @@ Please answer with the comic ID, URL (https://xkcd.com/ID/) and a short explanat
|
|
| 109 |
yield out.strip() or "Sorry, I couldn't parse the model response."
|
| 110 |
|
| 111 |
# --- UI ---
|
| 112 |
-
with gr.Blocks() as demo:
|
| 113 |
gr.Markdown("# xkcd Comic Finder")
|
| 114 |
gr.Markdown(
|
| 115 |
"Sign in with your Hugging Face account so the app can call the model via the Inference API."
|
|
@@ -127,7 +127,6 @@ with gr.Blocks() as demo:
|
|
| 127 |
"Life advice in comic form.",
|
| 128 |
],
|
| 129 |
type="messages",
|
| 130 |
-
theme='gstaff/xkcd',
|
| 131 |
)
|
| 132 |
|
| 133 |
if __name__ == "__main__":
|
|
|
|
| 109 |
yield out.strip() or "Sorry, I couldn't parse the model response."
|
| 110 |
|
| 111 |
# --- UI ---
|
| 112 |
+
with gr.Blocks(theme='gstaff/xkcd') as demo:
|
| 113 |
gr.Markdown("# xkcd Comic Finder")
|
| 114 |
gr.Markdown(
|
| 115 |
"Sign in with your Hugging Face account so the app can call the model via the Inference API."
|
|
|
|
| 127 |
"Life advice in comic form.",
|
| 128 |
],
|
| 129 |
type="messages",
|
|
|
|
| 130 |
)
|
| 131 |
|
| 132 |
if __name__ == "__main__":
|