Shima111 commited on
Commit
92b9f01
·
1 Parent(s): 96f13be
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -53,8 +53,10 @@ model = Model()
53
 
54
 
55
  def shima(name):
 
 
56
 
57
- return array_of_photos[-1]
58
 
59
  with gr.Blocks(css='style.css') as demo:
60
  with gr.TabItem('Canny'):
@@ -66,7 +68,7 @@ with gr.Blocks(css='style.css') as demo:
66
  shima_but = gr.Button('shiii')
67
  gr.Textbox
68
  with gr.Column():
69
- output = gr.Image()
70
 
71
  shima_but.click(shima, input, output)
72
 
 
53
 
54
 
55
  def shima(name):
56
+ print(array_of_photos)
57
+ print("shimaaa this is !!!!!!", len(array_of_photos))
58
 
59
+ return array_of_photos
60
 
61
  with gr.Blocks(css='style.css') as demo:
62
  with gr.TabItem('Canny'):
 
68
  shima_but = gr.Button('shiii')
69
  gr.Textbox
70
  with gr.Column():
71
+ output = gr.Gallery()
72
 
73
  shima_but.click(shima, input, output)
74