Spaces:
Sleeping
Sleeping
Yaron Koresh
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -174,21 +174,21 @@ with gr.Blocks(theme=gr.themes.Soft(),css=css,js=js) as demo:
|
|
174 |
with gr.Row():
|
175 |
run_button = gr.Button("讛转讞诇讛")
|
176 |
with gr.Row():
|
177 |
-
result.append(gr.Image(elem_classes="image-container", label="Result", show_label=False, type='filepath', show_share_button=False))
|
178 |
-
result.append(gr.Image(elem_classes="image-container", label="Result", show_label=False, type='filepath', show_share_button=False))
|
179 |
-
result.append(gr.Image(elem_classes="image-container", label="Result", show_label=False, type='filepath', show_share_button=False))
|
180 |
with gr.Row():
|
181 |
-
result.append(gr.Image(elem_classes="image-container", label="Result", show_label=False, type='filepath', show_share_button=False))
|
182 |
-
result.append(gr.Image(elem_classes="image-container", label="Result", show_label=False, type='filepath', show_share_button=False))
|
183 |
-
result.append(gr.Image(elem_classes="image-container", label="Result", show_label=False, type='filepath', show_share_button=False))
|
184 |
with gr.Row():
|
185 |
-
result.append(gr.Image(elem_classes="image-container", label="Result", show_label=False, type='filepath', show_share_button=False))
|
186 |
-
result.append(gr.Image(elem_classes="image-container", label="Result", show_label=False, type='filepath', show_share_button=False))
|
187 |
-
result.append(gr.Image(elem_classes="image-container", label="Result", show_label=False, type='filepath', show_share_button=False))
|
188 |
with gr.Row():
|
189 |
-
result.append(gr.Image(elem_classes="image-container", label="Result", show_label=False, type='filepath', show_share_button=False))
|
190 |
-
result.append(gr.Image(elem_classes="image-container", label="Result", show_label=False, type='filepath', show_share_button=False))
|
191 |
-
result.append(gr.Image(elem_classes="image-container", label="Result", show_label=False, type='filepath', show_share_button=False))
|
192 |
|
193 |
def ret(idx):
|
194 |
result[idx] = infer(prompt,prompt2)
|
|
|
174 |
with gr.Row():
|
175 |
run_button = gr.Button("讛转讞诇讛")
|
176 |
with gr.Row():
|
177 |
+
result.append(gr.Image(interactive=False,elem_classes="image-container", label="Result", show_label=False, type='filepath', show_share_button=False))
|
178 |
+
result.append(gr.Image(interactive=False,elem_classes="image-container", label="Result", show_label=False, type='filepath', show_share_button=False))
|
179 |
+
result.append(gr.Image(interactive=False,elem_classes="image-container", label="Result", show_label=False, type='filepath', show_share_button=False))
|
180 |
with gr.Row():
|
181 |
+
result.append(gr.Image(interactive=False,elem_classes="image-container", label="Result", show_label=False, type='filepath', show_share_button=False))
|
182 |
+
result.append(gr.Image(interactive=False,elem_classes="image-container", label="Result", show_label=False, type='filepath', show_share_button=False))
|
183 |
+
result.append(gr.Image(interactive=False,elem_classes="image-container", label="Result", show_label=False, type='filepath', show_share_button=False))
|
184 |
with gr.Row():
|
185 |
+
result.append(gr.Image(interactive=False,elem_classes="image-container", label="Result", show_label=False, type='filepath', show_share_button=False))
|
186 |
+
result.append(gr.Image(interactive=False,elem_classes="image-container", label="Result", show_label=False, type='filepath', show_share_button=False))
|
187 |
+
result.append(gr.Image(interactive=False,elem_classes="image-container", label="Result", show_label=False, type='filepath', show_share_button=False))
|
188 |
with gr.Row():
|
189 |
+
result.append(gr.Image(interactive=False,elem_classes="image-container", label="Result", show_label=False, type='filepath', show_share_button=False))
|
190 |
+
result.append(gr.Image(interactive=False,elem_classes="image-container", label="Result", show_label=False, type='filepath', show_share_button=False))
|
191 |
+
result.append(gr.Image(interactive=False,elem_classes="image-container", label="Result", show_label=False, type='filepath', show_share_button=False))
|
192 |
|
193 |
def ret(idx):
|
194 |
result[idx] = infer(prompt,prompt2)
|