Spaces:
Sleeping
Sleeping
jteng2127
commited on
Commit
·
5d53a0e
1
Parent(s):
43dc77d
modify layout
Browse files
app.py
CHANGED
@@ -32,8 +32,8 @@ with gr.Blocks() as demo:
|
|
32 |
gr.Markdown("## PDF Processing with Gemini API")
|
33 |
message = "I want to go to Taipei with 6 people, we have three thousand USD for 5 days. we plan we depart at February 2nd"
|
34 |
input_text = gr.Textbox(label="User Request", value=message, placeholder="Enter your travel detail here")
|
35 |
-
output_pdf = gr.File(label="Download Output PDF")
|
36 |
submit = gr.Button("Generate")
|
|
|
37 |
|
38 |
submit.click(fn=generate_response, inputs=input_text, outputs=output_pdf)
|
39 |
|
|
|
32 |
gr.Markdown("## PDF Processing with Gemini API")
|
33 |
message = "I want to go to Taipei with 6 people, we have three thousand USD for 5 days. we plan we depart at February 2nd"
|
34 |
input_text = gr.Textbox(label="User Request", value=message, placeholder="Enter your travel detail here")
|
|
|
35 |
submit = gr.Button("Generate")
|
36 |
+
output_pdf = gr.File(label="Download Output PDF")
|
37 |
|
38 |
submit.click(fn=generate_response, inputs=input_text, outputs=output_pdf)
|
39 |
|