TNK21 commited on
Commit
4faa219
·
1 Parent(s): 3e00a4e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -12
app.py CHANGED
@@ -22,17 +22,6 @@ example_inputs = [
22
  ["Deep in the ocean, an underwater explorer encountered a mysterious and ancient creature.", 350]
23
  ]
24
 
25
- # Customization options
26
- custom_style = {
27
- "live": True, # Enables live updates
28
- "textAreaBackgroundColor": "#F7F7F7", # Background color of the text input area (Light Gray)
29
- "textboxBorderColor": "#FFD700", # Border color of the text input box (Gold)
30
- "headerBackgroundColor": "#3B5998", # Background color of the header (Dark Blue)
31
- "buttonColor": "#FF7F50", # Color of the submission button (Coral),
32
- "titleColor": "#FF5733", # Color of the title (Vibrant Red-Orange)
33
- "titleFont": "Comic Sans MS" # Font of the title (Comic Sans MS)
34
- }
35
-
36
  # Create a Gradio interface with examples and a word count slider
37
  iface = gr.Interface(
38
  fn=generate_story,
@@ -44,7 +33,7 @@ iface = gr.Interface(
44
  title="Story Generator with Word Count",
45
  description="Enter a prompt and select the word count to generate a story.",
46
  examples=example_inputs,
47
- style=custom_style
48
  )
49
 
50
  # Launch the interface
 
22
  ["Deep in the ocean, an underwater explorer encountered a mysterious and ancient creature.", 350]
23
  ]
24
 
 
 
 
 
 
 
 
 
 
 
 
25
  # Create a Gradio interface with examples and a word count slider
26
  iface = gr.Interface(
27
  fn=generate_story,
 
33
  title="Story Generator with Word Count",
34
  description="Enter a prompt and select the word count to generate a story.",
35
  examples=example_inputs,
36
+ css={"title": "color: #8B0000; font-family: 'Comic Sans MS'; background-color: #E0E0E0;"}
37
  )
38
 
39
  # Launch the interface