Spaces:
Running
Running
Kastg
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -85,11 +85,4 @@ def upload_image_interface(url: str, file: gr.inputs.File):
|
|
85 |
return response.content
|
86 |
|
87 |
# Gradio interface
|
88 |
-
gr.
|
89 |
-
fn=upload_image_interface,
|
90 |
-
inputs=["text", "file"],
|
91 |
-
outputs="text",
|
92 |
-
title="Image Uploader",
|
93 |
-
description="Upload an image with a URL and file",
|
94 |
-
examples=[["https://example.com/image.jpg", gr.inputs.File(file_type="image")]]
|
95 |
-
).launch()
|
|
|
85 |
return response.content
|
86 |
|
87 |
# Gradio interface
|
88 |
+
gr.launch()
|
|
|
|
|
|
|
|
|
|
|
|
|
|