Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -45,3 +45,15 @@ gr.Interface(
|
|
| 45 |
outputs="markdown",
|
| 46 |
title="Cloudinary Image Logger"
|
| 47 |
).launch()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 45 |
outputs="markdown",
|
| 46 |
title="Cloudinary Image Logger"
|
| 47 |
).launch()
|
| 48 |
+
|
| 49 |
+
# Gradio UI with searchable dropdown
|
| 50 |
+
gr.Interface(
|
| 51 |
+
fn=upload_to_cloudinary,
|
| 52 |
+
inputs=[
|
| 53 |
+
gr.Image(type="pil", label="Capture or Upload Image"),
|
| 54 |
+
gr.Dropdown(choices=CODES, label="Select from column: #code", filterable=True)
|
| 55 |
+
],
|
| 56 |
+
outputs="markdown",
|
| 57 |
+
title="Cloudinary Image Logger"
|
| 58 |
+
).launch()
|
| 59 |
+
|