Update app.py
Browse files
app.py
CHANGED
@@ -2,6 +2,7 @@ import gradio as gr
|
|
2 |
import torch
|
3 |
import torchvision.transforms as transforms
|
4 |
from PIL import Image
|
|
|
5 |
|
6 |
file_urls = [
|
7 |
"https://www.bing.com/images/search?view=detailV2&ccid=YaFiK%2bN6&id=D84622E2396A39F168D279F32AC31F05096187AB&thid=OIP.YaFiK-N6iDdJR6B6DMBHpgHaFj&mediaurl=https%3a%2f%2fwww.practicalcaravan.com%2fwp-content%2fuploads%2f2016%2f03%2f5907569-scaled.jpg&exph=1921&expw=2560&q=audi+a4+car+image&simid=608053806389945942&FORM=IRPRST&ck=7DDB4BC7AA27F8E3EDA4433E669D3CC4&selectedIndex=6&ajaxhist=0&ajaxserp=0","https://www.bing.com/images/search?view=detailV2&ccid=CHONQxwQ&id=B8BCD1A5420658017C772CF149AFB7D24F2F8322&thid=OIP.CHONQxwQrclsFp-VXh4aOQHaFD&mediaurl=https%3a%2f%2fs3-eu-west-1.amazonaws.com%2feurekar-v2%2fuploads%2fimages%2foriginal%2fa4salfront.jpg&exph=1025&expw=1500&q=audi+a4+car+image&simid=608024308599848180&FORM=IRPRST&ck=3A2EA226332024ECB13B2F27682C15CA&selectedIndex=3&ajaxhist=0&ajaxserp=0"
|
|
|
2 |
import torch
|
3 |
import torchvision.transforms as transforms
|
4 |
from PIL import Image
|
5 |
+
import OS
|
6 |
|
7 |
file_urls = [
|
8 |
"https://www.bing.com/images/search?view=detailV2&ccid=YaFiK%2bN6&id=D84622E2396A39F168D279F32AC31F05096187AB&thid=OIP.YaFiK-N6iDdJR6B6DMBHpgHaFj&mediaurl=https%3a%2f%2fwww.practicalcaravan.com%2fwp-content%2fuploads%2f2016%2f03%2f5907569-scaled.jpg&exph=1921&expw=2560&q=audi+a4+car+image&simid=608053806389945942&FORM=IRPRST&ck=7DDB4BC7AA27F8E3EDA4433E669D3CC4&selectedIndex=6&ajaxhist=0&ajaxserp=0","https://www.bing.com/images/search?view=detailV2&ccid=CHONQxwQ&id=B8BCD1A5420658017C772CF149AFB7D24F2F8322&thid=OIP.CHONQxwQrclsFp-VXh4aOQHaFD&mediaurl=https%3a%2f%2fs3-eu-west-1.amazonaws.com%2feurekar-v2%2fuploads%2fimages%2foriginal%2fa4salfront.jpg&exph=1025&expw=1500&q=audi+a4+car+image&simid=608024308599848180&FORM=IRPRST&ck=3A2EA226332024ECB13B2F27682C15CA&selectedIndex=3&ajaxhist=0&ajaxserp=0"
|