Rooni commited on
Commit
402c0a6
·
verified ·
1 Parent(s): 618ad17

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -38,7 +38,7 @@ def dzen(theme, description=""):
38
  gr.alert(f'Ошибка при получении данных от сервера. Статус код: {response.status_code}')
39
  return ''
40
 
41
- iface = gr.Interface(theme='YThemes/AiHub', fn=dzen, inputs=[
42
  gr.Textbox(label="Тема", placeholder=""),
43
  gr.Textbox(label="Дополнительный текст (Не обязательно)")
44
  ], outputs=gr.Textbox(label="Пост"), title="Генератор постов Яндекс Дзен")
 
38
  gr.alert(f'Ошибка при получении данных от сервера. Статус код: {response.status_code}')
39
  return ''
40
 
41
+ iface = gr.Interface(fn=dzen, inputs=[
42
  gr.Textbox(label="Тема", placeholder=""),
43
  gr.Textbox(label="Дополнительный текст (Не обязательно)")
44
  ], outputs=gr.Textbox(label="Пост"), title="Генератор постов Яндекс Дзен")