NeuralFalcon commited on
Commit
f81b253
Β·
verified Β·
1 Parent(s): dbac26d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -253,7 +253,7 @@ def ui():
253
  with gr.Accordion('πŸ–ŒοΈ Text Style', open=False):
254
  font_size = gr.Slider(20, 200, value=100, step=1, label="πŸ”  Font Size") # FIXED (Removed comma)
255
  theme = gr.Radio(["Black Background", "White Background"], label="🎨 Theme", value="Black Background")
256
- llm_translation = gr.Textbox(label='πŸ“ LLM Translation', lines=5, placeholder="Enter a word...",value=None)
257
 
258
  with gr.Column():
259
  download_video = gr.File(label="πŸ“₯ Download Video")
@@ -313,7 +313,7 @@ def ui2():
313
  generate_btn = gr.Button('πŸš€ Generate', variant='primary')
314
 
315
  with gr.Column():
316
- output_text = gr.Textbox(label='πŸ“ Generated Prompt', lines=5)
317
 
318
  generate_btn.click(prompt_maker, inputs=[input_text, language_set], outputs=output_text)
319
 
 
253
  with gr.Accordion('πŸ–ŒοΈ Text Style', open=False):
254
  font_size = gr.Slider(20, 200, value=100, step=1, label="πŸ”  Font Size") # FIXED (Removed comma)
255
  theme = gr.Radio(["Black Background", "White Background"], label="🎨 Theme", value="Black Background")
256
+ llm_translation = gr.Textbox(label='πŸ“ Paste LLM Translation', lines=5, placeholder="Enter a word...",value=None)
257
 
258
  with gr.Column():
259
  download_video = gr.File(label="πŸ“₯ Download Video")
 
313
  generate_btn = gr.Button('πŸš€ Generate', variant='primary')
314
 
315
  with gr.Column():
316
+ output_text = gr.Textbox(label='πŸ“ Generated Prompt (Paste the prompt into any LLM to get a translation.)', lines=5)
317
 
318
  generate_btn.click(prompt_maker, inputs=[input_text, language_set], outputs=output_text)
319