akhaliq HF Staff commited on
Commit
a5b0cd3
·
1 Parent(s): dc2cb0c
Files changed (2) hide show
  1. app.py +1 -1
  2. requirements.txt +2 -1
app.py CHANGED
@@ -186,6 +186,7 @@ with gr.Blocks(css_paths="app.css") as demo:
186
  with antd.Row(gutter=[32, 12]) as layout:
187
  with antd.Col(span=24, md=8):
188
  with antd.Flex(vertical=True, gap="middle", wrap=True):
 
189
  header = gr.HTML("""
190
  <div class="left_header">
191
  <img src="https://huggingface.co/spaces/akhaliq/anycoder/resolve/main/Animated_Logo_Video_Ready.gif" width="200px" />
@@ -205,7 +206,6 @@ with gr.Blocks(css_paths="app.css") as demo:
205
  demoCard.click(lambda e, idx=i: DEMO_LIST[idx]['description'], outputs=[input])
206
 
207
  antd.Divider("setting")
208
-
209
  with antd.Flex(gap="small", wrap=True):
210
  settingPromptBtn = antd.Button(
211
  "⚙️ set system Prompt", type="default")
 
186
  with antd.Row(gutter=[32, 12]) as layout:
187
  with antd.Col(span=24, md=8):
188
  with antd.Flex(vertical=True, gap="middle", wrap=True):
189
+ gr.LoginButton()
190
  header = gr.HTML("""
191
  <div class="left_header">
192
  <img src="https://huggingface.co/spaces/akhaliq/anycoder/resolve/main/Animated_Logo_Video_Ready.gif" width="200px" />
 
206
  demoCard.click(lambda e, idx=i: DEMO_LIST[idx]['description'], outputs=[input])
207
 
208
  antd.Divider("setting")
 
209
  with antd.Flex(gap="small", wrap=True):
210
  settingPromptBtn = antd.Button(
211
  "⚙️ set system Prompt", type="default")
requirements.txt CHANGED
@@ -1,2 +1,3 @@
1
  modelscope_studio
2
- git+https://github.com/huggingface/huggingface_hub.git
 
 
1
  modelscope_studio
2
+ git+https://github.com/huggingface/huggingface_hub.git
3
+ gradio[oauth]