nevreal commited on
Commit
e2261a4
·
verified ·
1 Parent(s): 234658e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -34,7 +34,7 @@ def generate_image(api_url, prompt):
34
  return None, "Model is still loading after multiple attempts. Please try again later." # Final error if all attempts fail
35
 
36
  # Create Gradio Blocks Interface
37
- with gr.Blocks() as demo:
38
  gr.Markdown(
39
  """
40
  # Text to Image Generator
@@ -47,7 +47,7 @@ with gr.Blocks() as demo:
47
  text_input = gr.Textbox(
48
  label="Enter your prompt",
49
  placeholder="Type something here...",
50
- value="psg stocking, blue eyes, blue hair, colored inner hair, hair bow, long hair, multicolored hair, pink hair, two-tone hair, bangs, blunt bangs,"
51
  )
52
  model_input = gr.Textbox(
53
  label="Model URL",
@@ -68,4 +68,4 @@ with gr.Blocks() as demo:
68
  )
69
 
70
  # Launch the Gradio Blocks WebUI
71
- demo.launch()
 
34
  return None, "Model is still loading after multiple attempts. Please try again later." # Final error if all attempts fail
35
 
36
  # Create Gradio Blocks Interface
37
+ with gr.Blocks(theme="nevreal/blues") as demo:
38
  gr.Markdown(
39
  """
40
  # Text to Image Generator
 
47
  text_input = gr.Textbox(
48
  label="Enter your prompt",
49
  placeholder="Type something here...",
50
+ value=""
51
  )
52
  model_input = gr.Textbox(
53
  label="Model URL",
 
68
  )
69
 
70
  # Launch the Gradio Blocks WebUI
71
+ demo.launch(share=True, debug=True)