suayptalha commited on
Commit
2ae1580
·
verified ·
1 Parent(s): 240c740

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -4
app.py CHANGED
@@ -71,9 +71,6 @@ def show_image():
71
  with gr.Blocks() as demo:
72
  with gr.Column():
73
  # Resim yükleme alanı
74
- image_input = gr.Image(label="Resim Yükleyin", type="filepath")
75
-
76
- # Başlangıçta resim yükleme alanını gizli tutmak
77
  image_input = gr.Image(label="Resim Yükleyin", type="filepath", visible=False)
78
 
79
  # Resim ekleme butonunun işlevselliği
@@ -91,4 +88,4 @@ with gr.Blocks() as demo:
91
 
92
  # Gradio uygulamasını başlat
93
  if __name__ == "__main__":
94
- demo.launch(show_error=True)
 
71
  with gr.Blocks() as demo:
72
  with gr.Column():
73
  # Resim yükleme alanı
 
 
 
74
  image_input = gr.Image(label="Resim Yükleyin", type="filepath", visible=False)
75
 
76
  # Resim ekleme butonunun işlevselliği
 
88
 
89
  # Gradio uygulamasını başlat
90
  if __name__ == "__main__":
91
+ demo.launch(show_error=True)