Spaces:
Sleeping
Sleeping
kgupta21
commited on
Commit
·
11907c6
1
Parent(s):
3c26246
scrollable output
Browse files
app.py
CHANGED
@@ -257,7 +257,14 @@ with gr.Blocks() as demo:
|
|
257 |
max_tokens_input = gr.Slider(label="Max Tokens", minimum=256, maximum=2048, value=1024, step=128)
|
258 |
repetition_penalty_input = gr.Slider(label="Repetition penalty", minimum=1.0, maximum=2.0, value=1.2, step=0.05)
|
259 |
analyze_btn = gr.Button("Analyze with Llama")
|
260 |
-
llama_analysis_output = gr.Textbox(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
261 |
|
262 |
# Event handlers for Local Inference tab
|
263 |
transcribe_button.click(
|
|
|
257 |
max_tokens_input = gr.Slider(label="Max Tokens", minimum=256, maximum=2048, value=1024, step=128)
|
258 |
repetition_penalty_input = gr.Slider(label="Repetition penalty", minimum=1.0, maximum=2.0, value=1.2, step=0.05)
|
259 |
analyze_btn = gr.Button("Analyze with Llama")
|
260 |
+
llama_analysis_output = gr.Textbox(
|
261 |
+
label="Llama Analysis Output",
|
262 |
+
lines=8,
|
263 |
+
max_lines=8,
|
264 |
+
show_copy_button=True,
|
265 |
+
interactive=False,
|
266 |
+
autoscroll=False
|
267 |
+
)
|
268 |
|
269 |
# Event handlers for Local Inference tab
|
270 |
transcribe_button.click(
|