Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -127,7 +127,7 @@ css = """
|
|
| 127 |
footer {visibility: hidden !important;}
|
| 128 |
"""
|
| 129 |
# Создаем интерфейс с помощью Gradio
|
| 130 |
-
with gr.Blocks(css=css) as demo:
|
| 131 |
with gr.Row():
|
| 132 |
with gr.Column():
|
| 133 |
instructions = gr.Textbox(label="Сообщение", lines=3, placeholder="Привет!) ...")
|
|
@@ -157,5 +157,4 @@ ___
|
|
| 157 |
inputs=[instructions, image_input],
|
| 158 |
outputs=[output_markdown]
|
| 159 |
)
|
| 160 |
-
demo.javascript(js_code)
|
| 161 |
demo.launch()
|
|
|
|
| 127 |
footer {visibility: hidden !important;}
|
| 128 |
"""
|
| 129 |
# Создаем интерфейс с помощью Gradio
|
| 130 |
+
with gr.Blocks(css=css, js=js_code) as demo:
|
| 131 |
with gr.Row():
|
| 132 |
with gr.Column():
|
| 133 |
instructions = gr.Textbox(label="Сообщение", lines=3, placeholder="Привет!) ...")
|
|
|
|
| 157 |
inputs=[instructions, image_input],
|
| 158 |
outputs=[output_markdown]
|
| 159 |
)
|
|
|
|
| 160 |
demo.launch()
|