Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -84,9 +84,9 @@ def ask_openai_with_image(instruction, image):
|
|
| 84 |
with gr.Blocks() as demo:
|
| 85 |
with gr.Row():
|
| 86 |
with gr.Column():
|
| 87 |
-
instructions = gr.Textbox(label="
|
| 88 |
-
image_input = gr.Image(label="
|
| 89 |
-
submit_button = gr.Button("
|
| 90 |
with gr.Column():
|
| 91 |
output_markdown = gr.Markdown(label="AI Response")
|
| 92 |
|
|
|
|
| 84 |
with gr.Blocks() as demo:
|
| 85 |
with gr.Row():
|
| 86 |
with gr.Column():
|
| 87 |
+
instructions = gr.Textbox(label="Prompt")
|
| 88 |
+
image_input = gr.Image(label="Изображение", type="pil")
|
| 89 |
+
submit_button = gr.Button("Генерация")
|
| 90 |
with gr.Column():
|
| 91 |
output_markdown = gr.Markdown(label="AI Response")
|
| 92 |
|