Upload folder using huggingface_hub
Browse files- app.py +6 -0
- examples/gpu.jpg +0 -0
app.py
CHANGED
|
@@ -157,6 +157,12 @@ with gr.Blocks(title="X-Ray Anything", theme=gr.themes.Soft()) as demo:
|
|
| 157 |
|
| 158 |
btn.click(xray, inputs=[image_in, style], outputs=[image_out])
|
| 159 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 160 |
gr.Markdown(
|
| 161 |
"*Build Small Hackathon 2026 · everything under 32B parameters · "
|
| 162 |
"[Barath](https://huggingface.co/Barath)*"
|
|
|
|
| 157 |
|
| 158 |
btn.click(xray, inputs=[image_in, style], outputs=[image_out])
|
| 159 |
|
| 160 |
+
gr.Examples(
|
| 161 |
+
examples=[["examples/gpu.jpg", "🩻 X-ray scan"]],
|
| 162 |
+
inputs=[image_in, style],
|
| 163 |
+
label="🧪 Try a sample",
|
| 164 |
+
)
|
| 165 |
+
|
| 166 |
gr.Markdown(
|
| 167 |
"*Build Small Hackathon 2026 · everything under 32B parameters · "
|
| 168 |
"[Barath](https://huggingface.co/Barath)*"
|
examples/gpu.jpg
ADDED
|