Stephen Oke commited on
Commit
e17bdec
Β·
1 Parent(s): e857f7c

fixing colorTO field

Browse files
Files changed (2) hide show
  1. DadJokes/README.md +5 -6
  2. app.py +1 -1
DadJokes/README.md CHANGED
@@ -1,13 +1,12 @@
1
  ---
2
- title: DadJokes
3
- emoji: πŸ“š
4
- colorFrom: green
5
- colorTo: blue
6
  sdk: gradio
7
- sdk_version: 5.16.1
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: orange; 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")
 
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")