Spaces:
Running
Running
Update app.py
Browse files
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
|
| 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="
|
| 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
|