Spaces:
Running
Running
new gradio example with image
#2
by
akhaliq
HF Staff
- opened
app.py
CHANGED
|
@@ -1448,6 +1448,9 @@ def build_ui():
|
|
| 1448 |
[
|
| 1449 |
"Write a Go program that generates and prints a multiplication table from 1 to 12. Format the output in a neat grid with proper alignment."
|
| 1450 |
],
|
|
|
|
|
|
|
|
|
|
| 1451 |
],
|
| 1452 |
example_labels=[
|
| 1453 |
"๐ฎ ๆฅ่ไธป้ขๅพๆก",
|
|
@@ -1478,6 +1481,7 @@ def build_ui():
|
|
| 1478 |
"๐ Happy Numbers in Rust",
|
| 1479 |
"๐ Binary Search in Java",
|
| 1480 |
"โ๏ธ Multiplication Table in Go",
|
|
|
|
| 1481 |
],
|
| 1482 |
examples_per_page=100,
|
| 1483 |
label="Example Prompts",
|
|
|
|
| 1448 |
[
|
| 1449 |
"Write a Go program that generates and prints a multiplication table from 1 to 12. Format the output in a neat grid with proper alignment."
|
| 1450 |
],
|
| 1451 |
+
[
|
| 1452 |
+
"Write a Python script with Gradio that applies a halftone effect to uploaded images. The app should allow users to upload an image file and convert it to a simple halftone pattern using basic image processing. Include a slider to control the dot size and display both the original and processed images. Use only built-in Python libraries and basic image manipulation techniques."
|
| 1453 |
+
],
|
| 1454 |
],
|
| 1455 |
example_labels=[
|
| 1456 |
"๐ฎ ๆฅ่ไธป้ขๅพๆก",
|
|
|
|
| 1481 |
"๐ Happy Numbers in Rust",
|
| 1482 |
"๐ Binary Search in Java",
|
| 1483 |
"โ๏ธ Multiplication Table in Go",
|
| 1484 |
+
"๐จ๏ธ Halftone Image Effect with Gradio",
|
| 1485 |
],
|
| 1486 |
examples_per_page=100,
|
| 1487 |
label="Example Prompts",
|