rapsar commited on
Commit
f4a1bed
·
verified ·
1 Parent(s): 630d970

added models

Browse files
Files changed (1) hide show
  1. app.py +5 -4
app.py CHANGED
@@ -299,8 +299,11 @@ with gr.Blocks(theme=theme, title="Image Extrapolation with LLMs") as demo:
299
  choices=[
300
  "meta-llama/Llama-3.2-1B",
301
  "meta-llama/Llama-3.2-3B",
 
302
  "HuggingFaceTB/SmolLM2-1.7B",
303
  "HuggingFaceTB/SmolLM3-3B",
 
 
304
  ],
305
  value="meta-llama/Llama-3.2-1B",
306
  )
@@ -326,8 +329,7 @@ with gr.Blocks(theme=theme, title="Image Extrapolation with LLMs") as demo:
326
  preview_text = gr.Code(
327
  label="Preview as CSV (rows end with ';')",
328
  lines=12,
329
- interactive=False,
330
- # show_copy_button=True,
331
  max_lines=12
332
  )
333
 
@@ -340,11 +342,10 @@ with gr.Blocks(theme=theme, title="Image Extrapolation with LLMs") as demo:
340
  variant="primary"
341
  )
342
 
343
- llm_text = gr.Textbox(
344
  label="LLM output (single-line CSV)",
345
  lines=6,
346
  interactive=False,
347
- show_copy_button=True
348
  )
349
  llm_image = gr.Image(label="LLM parsed image", height=512)
350
 
 
299
  choices=[
300
  "meta-llama/Llama-3.2-1B",
301
  "meta-llama/Llama-3.2-3B",
302
+ "meta-llama/Llama-3.1-8B",
303
  "HuggingFaceTB/SmolLM2-1.7B",
304
  "HuggingFaceTB/SmolLM3-3B",
305
+ "openai/gpt-oss-20b",
306
+ "openai/gpt-oss-120b",
307
  ],
308
  value="meta-llama/Llama-3.2-1B",
309
  )
 
329
  preview_text = gr.Code(
330
  label="Preview as CSV (rows end with ';')",
331
  lines=12,
332
+ interactive=False,
 
333
  max_lines=12
334
  )
335
 
 
342
  variant="primary"
343
  )
344
 
345
+ llm_text = gr.Code(
346
  label="LLM output (single-line CSV)",
347
  lines=6,
348
  interactive=False,
 
349
  )
350
  llm_image = gr.Image(label="LLM parsed image", height=512)
351