Kastg commited on
Commit
b4e3428
·
verified ·
1 Parent(s): c6d35c0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -8
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.Interface(
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()