ankankbhunia commited on
Commit
631c6fe
·
verified ·
1 Parent(s): d8568a9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -67,14 +67,15 @@ def generate_image(text,folder, _ch3, images):
67
  iface = gr.Interface(
68
  fn=generate_image,
69
  inputs=[
70
- gr.Textbox(value = "In the quiet hum of everyday life, the dance of existence unfolds. Time, an ever-flowing river, carries the stories of triumph and heartache. Each fleeting moment is a brushstroke on the canvas of our memories. Within the tapestry of human connection, threads of empathy weave a fabric that binds us all. Nature's symphony plays, a harmonious blend of rustling leaves and birdsong. In the labyrinth of possibility, dreams take flight. Beneath the veneer of routine, lies the extraordinary. Embrace the kaleidoscope of experience, for in the ordinary, the extraordinary often reveals itself.",label = "Input text"),
71
  gr.Dropdown(value = "files/example_data/style-30", choices=glob.glob('files/example_data/*'), label="Choose from provided writer styles"),
72
  gr.Markdown("### OR"),
73
  gr.File(label="Upload multiple word images", file_count="multiple")
74
  ],
75
  outputs=[#gr.Markdown("## Output"),
76
  gr.Image(type="pil", label="Style Image"),
77
- gr.Image(type="pil", label="Generated Image")]
 
78
  )
79
 
80
  # Launch the Gradio Interface
 
67
  iface = gr.Interface(
68
  fn=generate_image,
69
  inputs=[
70
+ gr.Textbox(value = "In the quiet hum of everyday life, the dance of existence unfolds. Time, an ever-flowing river, carries the stories of triumph and heartache. Each fleeting moment is a brushstroke on the canvas of our memories.",label = "Input text"),
71
  gr.Dropdown(value = "files/example_data/style-30", choices=glob.glob('files/example_data/*'), label="Choose from provided writer styles"),
72
  gr.Markdown("### OR"),
73
  gr.File(label="Upload multiple word images", file_count="multiple")
74
  ],
75
  outputs=[#gr.Markdown("## Output"),
76
  gr.Image(type="pil", label="Style Image"),
77
+ gr.Image(type="pil", label="Generated Image")],
78
+ thumbnail = "Handwriting Synthesis - Mimic anyone's handwriting!"
79
  )
80
 
81
  # Launch the Gradio Interface