Rooni commited on
Commit
433ad14
·
1 Parent(s): 11e1de5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -89,9 +89,11 @@ def ask_openai_with_image(instruction, image):
89
  else:
90
  # Если произошла ошибка, возвращаем сообщение об ошибке
91
  return f"Error: {response.status_code} - {response.text}"
92
-
 
 
93
  # Создаем интерфейс с помощью Gradio
94
- with gr.Blocks() as demo:
95
  with gr.Row():
96
  with gr.Column():
97
  instructions = gr.Textbox(label="Дополнительный ввод")
 
89
  else:
90
  # Если произошла ошибка, возвращаем сообщение об ошибке
91
  return f"Error: {response.status_code} - {response.text}"
92
+ css = """
93
+ footer {visibility: hidden !important;}
94
+ """
95
  # Создаем интерфейс с помощью Gradio
96
+ with gr.Blocks(css=css) as demo:
97
  with gr.Row():
98
  with gr.Column():
99
  instructions = gr.Textbox(label="Дополнительный ввод")