hideosnes commited on
Commit
f976b0a
·
verified ·
1 Parent(s): 42a10cf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -137,13 +137,13 @@ with gr.Blocks(theme=theme) as demo:
137
 
138
  with gr.Row(): #left column
139
  with gr.Column():
140
- file = gr.File(label="Upload a PDF or a TXT file")
141
  text = gr.Textbox(label="Paste text from clipboard.", lines=10)
142
 
143
  with gr.Row(): # for inline horizontal layout
144
- style = gr.Dropdown(["Precise", "Sloppy", "Keywords"], label="Style (experimental")
145
  length = gr.Dropdown(["Short", "Middle", "Long"], label="Length")
146
- token_info = gr.Text(label="Max. Tokens", value="1024 tokens ~ 750800 words")
147
  btn = gr.Button("Transform")
148
 
149
  with gr.Column(): #right column
 
137
 
138
  with gr.Row(): #left column
139
  with gr.Column():
140
+ file = gr.File(label="Upload a PDF file")
141
  text = gr.Textbox(label="Paste text from clipboard.", lines=10)
142
 
143
  with gr.Row(): # for inline horizontal layout
144
+ style = gr.Dropdown(["Precise", "Sloppy", "Keywords"], label="Style (experimental)")
145
  length = gr.Dropdown(["Short", "Middle", "Long"], label="Length")
146
+ token_info = gr.Text(label="Speed", value="At ~4t/s 750~800 words (1024 tokens) will take ~4 minutes.")
147
  btn = gr.Button("Transform")
148
 
149
  with gr.Column(): #right column