NeuralFalcon commited on
Commit
8b49f6d
·
verified ·
1 Parent(s): a60c10f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -240,7 +240,8 @@ def ui2():
240
  generate_btn = gr.Button("Generate Prompt")
241
  output_prompt = gr.Textbox(
242
  label="Copy & Paste this prompt in https://aistudio.google.com/",
243
- lines=20
 
244
  )
245
 
246
  with gr.Column():
@@ -279,7 +280,8 @@ def main(share,debug):
279
  # def main(debug=True, share=True):
280
  demo1 = ui1()
281
  demo2 = ui2()
282
- demo = gr.TabbedInterface([demo1, demo2], ["Generate SRT File", "SRT Translation"], title="")
 
283
  demo.queue().launch(share=share,debug=debug)
284
  if __name__ == "__main__":
285
  main()
 
240
  generate_btn = gr.Button("Generate Prompt")
241
  output_prompt = gr.Textbox(
242
  label="Copy & Paste this prompt in https://aistudio.google.com/",
243
+ lines=20,
244
+ show_copy_button=True
245
  )
246
 
247
  with gr.Column():
 
280
  # def main(debug=True, share=True):
281
  demo1 = ui1()
282
  demo2 = ui2()
283
+ custom_css = """.gradio-container { font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif; }"""
284
+ demo = gr.TabbedInterface([demo1, demo2], ["Generate SRT File", "SRT Translation"], title="",theme=gr.themes.Soft(),css=custom_css)
285
  demo.queue().launch(share=share,debug=debug)
286
  if __name__ == "__main__":
287
  main()