Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -244,18 +244,6 @@ def create_interface():
|
|
| 244 |
|
| 245 |
# Clear button
|
| 246 |
clear_btn = gr.Button("Clear", variant="secondary")
|
| 247 |
-
gr.Examples(
|
| 248 |
-
examples=[
|
| 249 |
-
["i3.png"],
|
| 250 |
-
["i6.png"]
|
| 251 |
-
],
|
| 252 |
-
inputs=image_input,
|
| 253 |
-
outputs=[output, status], # <-- required
|
| 254 |
-
fn=process_with_status, # <-- required
|
| 255 |
-
label="Example Images",
|
| 256 |
-
examples_per_page=4,
|
| 257 |
-
cache_examples=True
|
| 258 |
-
)
|
| 259 |
|
| 260 |
with gr.Column(scale=1):
|
| 261 |
# Output text
|
|
@@ -282,7 +270,19 @@ def create_interface():
|
|
| 282 |
**Context window:** Supports up to 2000 output tokens
|
| 283 |
**Optimization:** 4-bit quantization for efficient inference
|
| 284 |
""")
|
| 285 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 286 |
# Set up processing flow
|
| 287 |
submit_btn.click(
|
| 288 |
fn=process_with_status,
|
|
|
|
| 244 |
|
| 245 |
# Clear button
|
| 246 |
clear_btn = gr.Button("Clear", variant="secondary")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 247 |
|
| 248 |
with gr.Column(scale=1):
|
| 249 |
# Output text
|
|
|
|
| 270 |
**Context window:** Supports up to 2000 output tokens
|
| 271 |
**Optimization:** 4-bit quantization for efficient inference
|
| 272 |
""")
|
| 273 |
+
|
| 274 |
+
gr.Examples(
|
| 275 |
+
examples=[
|
| 276 |
+
["i3.png"],
|
| 277 |
+
["i6.png"]
|
| 278 |
+
],
|
| 279 |
+
inputs=image_input,
|
| 280 |
+
outputs=[output, status], # <-- required
|
| 281 |
+
fn=process_with_status, # <-- required
|
| 282 |
+
label="Example Images",
|
| 283 |
+
examples_per_page=4,
|
| 284 |
+
cache_examples=True
|
| 285 |
+
)
|
| 286 |
# Set up processing flow
|
| 287 |
submit_btn.click(
|
| 288 |
fn=process_with_status,
|