prithivMLmods commited on
Commit
186260a
β€’
1 Parent(s): 2f336b3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -90,13 +90,13 @@ def generate_and_save(prompt, history, filename="output", file_format="pdf", sys
90
  demo = gr.Interface(
91
  fn=generate_and_save,
92
  inputs=[
93
- gr.Textbox(placeholder="Type your message here...", label="Chatbot", lines=4),
94
  gr.State(value=[]),
95
- gr.Textbox(placeholder="Filename (default: output)", label="Filename", value="output", lines=4),
96
  gr.Radio(["pdf", "docx", "txt"], label="File Format", value="pdf"),
97
  ],
98
  outputs=[
99
- gr.Textbox(label="Generated Text"),
100
  gr.State(value=[]),
101
  gr.File(label="Download File")
102
  ],
 
90
  demo = gr.Interface(
91
  fn=generate_and_save,
92
  inputs=[
93
+ gr.Textbox(placeholder="Type your message here...", label="Chatbot", lines=5),
94
  gr.State(value=[]),
95
+ gr.Textbox(placeholder="Filename (default: output)", label="Filename", value="output"),
96
  gr.Radio(["pdf", "docx", "txt"], label="File Format", value="pdf"),
97
  ],
98
  outputs=[
99
+ gr.Textbox(label="Generated Text", lines=5),
100
  gr.State(value=[]),
101
  gr.File(label="Download File")
102
  ],