JoaquinVanschoren commited on
Commit
4cc19d5
·
1 Parent(s): fe85057

first complete version

Browse files
Files changed (2) hide show
  1. app.py +2 -2
  2. requirements.txt +1 -1
app.py CHANGED
@@ -698,7 +698,7 @@ button.add-agent-btn:hover {
698
  # ---------------------------------------------------------------------------
699
 
700
  def create_ui():
701
- with gr.Blocks(theme=gr.themes.Soft(), css=APP_CSS) as app:
702
 
703
  # Load Inter font via a <link> tag — @import is forbidden in Gradio 6
704
  # Constructable Stylesheets and would break all event listeners.
@@ -1679,4 +1679,4 @@ def create_ui():
1679
 
1680
  if __name__ == "__main__":
1681
  app = create_ui()
1682
- app.launch()
 
698
  # ---------------------------------------------------------------------------
699
 
700
  def create_ui():
701
+ with gr.Blocks() as app:
702
 
703
  # Load Inter font via a <link> tag — @import is forbidden in Gradio 6
704
  # Constructable Stylesheets and would break all event listeners.
 
1679
 
1680
  if __name__ == "__main__":
1681
  app = create_ui()
1682
+ app.launch(theme=gr.themes.Soft(), css=APP_CSS)
requirements.txt CHANGED
@@ -1,6 +1,6 @@
1
  mlcroissant>=1.0.17
2
  pydantic>=2.10.6
3
- gradio>=3.50.2
4
  func_timeout
5
  requests
6
  huggingface-hub>=0.30.1
 
1
  mlcroissant>=1.0.17
2
  pydantic>=2.10.6
3
+ gradio>=6.0.0,<7.0.0
4
  func_timeout
5
  requests
6
  huggingface-hub>=0.30.1