Spaces:
Running
Running
VinayHajare
commited on
Commit
•
1455ab2
1
Parent(s):
aa577d7
Update app.py
Browse files
app.py
CHANGED
@@ -1,3 +1,4 @@
|
|
|
|
1 |
import torch
|
2 |
import torchvision.transforms as transforms
|
3 |
import gradio as gr
|
@@ -42,7 +43,10 @@ interface = gr.Interface(
|
|
42 |
inputs = "image",
|
43 |
outputs = "text",
|
44 |
allow_flagging = "never",
|
45 |
-
examples = [
|
|
|
|
|
|
|
46 |
theme = gr.themes.Soft()
|
47 |
)
|
48 |
|
|
|
1 |
+
import os
|
2 |
import torch
|
3 |
import torchvision.transforms as transforms
|
4 |
import gradio as gr
|
|
|
43 |
inputs = "image",
|
44 |
outputs = "text",
|
45 |
allow_flagging = "never",
|
46 |
+
examples = [
|
47 |
+
os.path.join(os.path.dirname(__file__), "8.jpg"),
|
48 |
+
os.path.join(os.path.dirname(__file__), "12.jpg"),
|
49 |
+
],
|
50 |
theme = gr.themes.Soft()
|
51 |
)
|
52 |
|