Spaces:
Sleeping
Sleeping
Create app.py
Browse files
app.py
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import gradio as gr
|
| 2 |
+
import requests
|
| 3 |
+
|
| 4 |
+
|
| 5 |
+
|
| 6 |
+
|
| 7 |
+
#https://lens.google.com/uploadbyurl?url=
|
| 8 |
+
#https://tineye.com/search/?url=
|
| 9 |
+
#https://yandex.com/images/search?cbir_id=4330355%2FBhPd4CHqib3nxk9xOdS9pQ7899&rpt=imageview&url=
|
| 10 |
+
|
| 11 |
+
|
| 12 |
+
with gr.Blocks() as app:
|
| 13 |
+
inp_url=gr.Textbox(label="Image URL")
|
| 14 |
+
inp_im=gr.Image()
|
| 15 |
+
app.launch()
|