Rooni commited on
Commit
3fc0165
·
1 Parent(s): 7cffe7d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
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()