Spaces:
Sleeping
Sleeping
Stephen Oke
commited on
Commit
Β·
e17bdec
1
Parent(s):
e857f7c
fixing colorTO field
Browse files- DadJokes/README.md +5 -6
- app.py +1 -1
DadJokes/README.md
CHANGED
|
@@ -1,13 +1,12 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
emoji:
|
| 4 |
-
colorFrom:
|
| 5 |
-
colorTo:
|
| 6 |
sdk: gradio
|
| 7 |
-
sdk_version:
|
| 8 |
app_file: app.py
|
| 9 |
pinned: false
|
| 10 |
-
short_description: puns and dad jokes
|
| 11 |
---
|
| 12 |
|
| 13 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
| 1 |
---
|
| 2 |
+
title: Dad Jokes Generator
|
| 3 |
+
emoji: π
|
| 4 |
+
colorFrom: yellow
|
| 5 |
+
colorTo: red
|
| 6 |
sdk: gradio
|
| 7 |
+
sdk_version: "4.16.0"
|
| 8 |
app_file: app.py
|
| 9 |
pinned: false
|
|
|
|
| 10 |
---
|
| 11 |
|
| 12 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
app.py
CHANGED
|
@@ -30,7 +30,7 @@ def load_jokes_dataset(word):
|
|
| 30 |
|
| 31 |
|
| 32 |
|
| 33 |
-
with gr.Blocks(css=".button-custom {background-color: #FF5733; color:
|
| 34 |
gr.Markdown("**Dad Joke Generator**")
|
| 35 |
gr.Markdown("just type a word and ill make a dad joke out of it")
|
| 36 |
word_input = gr.Textbox(label="Enter a word")
|
|
|
|
| 30 |
|
| 31 |
|
| 32 |
|
| 33 |
+
with gr.Blocks(css=".button-custom {background-color: #FF5733; color: red; font-size: 18px; border-radius: 12px; padding: 12px 20px; border: none; cursor: pointer;}") as demo:
|
| 34 |
gr.Markdown("**Dad Joke Generator**")
|
| 35 |
gr.Markdown("just type a word and ill make a dad joke out of it")
|
| 36 |
word_input = gr.Textbox(label="Enter a word")
|