aigencydev commited on
Commit
7584ed6
verified
1 Parent(s): 15d3960

Fix: upgrade to gradio 5.6 (resolves HfFolder import + audioop)

Browse files
Files changed (3) hide show
  1. README.md +1 -2
  2. app.py +1 -1
  3. requirements.txt +2 -1
README.md CHANGED
@@ -4,8 +4,7 @@ emoji: 馃
4
  colorFrom: indigo
5
  colorTo: pink
6
  sdk: gradio
7
- sdk_version: 4.44.0
8
- python_version: 3.11
9
  app_file: app.py
10
  pinned: true
11
  license: other
 
4
  colorFrom: indigo
5
  colorTo: pink
6
  sdk: gradio
7
+ sdk_version: 5.6.0
 
8
  app_file: app.py
9
  pinned: true
10
  license: other
app.py CHANGED
@@ -182,7 +182,7 @@ with gr.Blocks(title="AIGENCY V4 Demo", theme=gr.themes.Soft()) as demo:
182
  gr.Markdown(EN_INTRO)
183
  with gr.Column(scale=1):
184
  gr.Markdown(TR_INTRO)
185
- chatbot = gr.Chatbot(height=420, label="Conversation")
186
  with gr.Row():
187
  with gr.Column(scale=4):
188
  msg = gr.Textbox(
 
182
  gr.Markdown(EN_INTRO)
183
  with gr.Column(scale=1):
184
  gr.Markdown(TR_INTRO)
185
+ chatbot = gr.Chatbot(height=420, label="Conversation", type="tuples")
186
  with gr.Row():
187
  with gr.Column(scale=4):
188
  msg = gr.Textbox(
requirements.txt CHANGED
@@ -1,3 +1,4 @@
1
- gradio>=4.40
2
  requests>=2.32
3
  Pillow>=10.0
 
 
1
+ gradio>=5.0,<6.0
2
  requests>=2.32
3
  Pillow>=10.0
4
+ huggingface_hub>=0.25