StKirill commited on
Commit
54eb3a0
·
1 Parent(s): ffc34bd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -1
app.py CHANGED
@@ -63,6 +63,11 @@ def predict(image, prompt):
63
 
64
 
65
  return(images[0])
 
 
 
 
 
66
 
67
  gr.Interface(
68
  predict,
@@ -73,5 +78,6 @@ gr.Interface(
73
  ],
74
  outputs = [
75
  gr.Image()
76
- ]
 
77
  ).launch(debug=True)
 
63
 
64
 
65
  return(images[0])
66
+
67
+ examples = [["cats.png", "cat is smiling"],
68
+ ["dog.jpg", "dog with big eyes"],
69
+ ["dog1.jpg", "dog with big bone"],
70
+ ["limurs.jpg", "limur eating bug"]]
71
 
72
  gr.Interface(
73
  predict,
 
78
  ],
79
  outputs = [
80
  gr.Image()
81
+ ],
82
+ examples=examples,
83
  ).launch(debug=True)