Update app.py
Browse files
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 |
|