jlazoflores commited on
Commit
be0dccf
·
verified ·
1 Parent(s): 2ede23d

Upload folder using huggingface_hub

Browse files
.github/workflows/update_space.yml CHANGED
@@ -16,7 +16,7 @@ jobs:
16
  - name: Set up Python
17
  uses: actions/setup-python@v2
18
  with:
19
- python-version: '3.9'
20
 
21
  - name: Install Gradio
22
  run: python -m pip install gradio
 
16
  - name: Set up Python
17
  uses: actions/setup-python@v2
18
  with:
19
+ python-version: '3.12.11'
20
 
21
  - name: Install Gradio
22
  run: python -m pip install gradio
deep_research.py CHANGED
@@ -31,7 +31,7 @@ def check_if_fields_have_input(query: str, email: str):
31
  return gr.update(interactive=has_input)
32
 
33
 
34
- with gr.Blocks(theme=gr.themes.Glass(primary_hue="purple")) as ui:
35
  gr.Markdown("# Deep Research")
36
  query_textbox = gr.Textbox(
37
  label="I am your research assistant. What topic would you like to research?",
 
31
  return gr.update(interactive=has_input)
32
 
33
 
34
+ with gr.Blocks(theme=gr.themes.Glass(primary_hue="indigo")) as ui:
35
  gr.Markdown("# Deep Research")
36
  query_textbox = gr.Textbox(
37
  label="I am your research assistant. What topic would you like to research?",
pyproject.toml CHANGED
@@ -6,10 +6,12 @@ requires-python = ">=3.11"
6
  dependencies = [
7
  "gradio>=4.0.0",
8
  "python-dotenv>=1.0.0",
9
- "openai[agents]>=1.54.0",
10
  "pydantic>=2.0.0",
11
  "mailjet-rest>=1.3.0",
12
  "openai-agents>=0.4.2",
 
 
13
  ]
14
 
15
  [build-system]
 
6
  dependencies = [
7
  "gradio>=4.0.0",
8
  "python-dotenv>=1.0.0",
9
+ "openai>=1.54.0",
10
  "pydantic>=2.0.0",
11
  "mailjet-rest>=1.3.0",
12
  "openai-agents>=0.4.2",
13
+ "huggingface-hub<0.23.0",
14
+ "typer>=0.20.0",
15
  ]
16
 
17
  [build-system]
requirements.txt CHANGED
@@ -1,23 +1,9 @@
1
  # Main dependencies for deep_research project
2
- gradio==5.49.1
3
  python-dotenv==1.2.1
4
  openai==2.6.1
5
  pydantic==2.11.10
6
  mailjet-rest==1.5.1
7
  openai-agents>=0.4.2
8
-
9
- # IMPORTANT: MISSING 'agents' MODULE
10
- # ===================================
11
- # The 'agents' package (providing Agent, WebSearchTool, Runner, trace, gen_trace_id)
12
- # is NOT available as a standard PyPI package compatible with this code.
13
- #
14
- # To resolve the "ModuleNotFoundError: No module named 'agents'" error:
15
- #
16
- # Option 1: Check your course materials for specific installation instructions
17
- # Option 2: The agents SDK may need to be installed from GitHub:
18
- # pip install git+https://github.com/openai/openai-python.git
19
- # (Then import from openai instead of agents)
20
- # Option 3: You may need to update the imports to use the correct OpenAI SDK syntax
21
- #
22
- # The code currently imports from the wrong package - check if your course
23
- # provides updated code or additional setup instructions.
 
1
  # Main dependencies for deep_research project
2
+ gradio==4.44.1
3
  python-dotenv==1.2.1
4
  openai==2.6.1
5
  pydantic==2.11.10
6
  mailjet-rest==1.5.1
7
  openai-agents>=0.4.2
8
+ huggingface-hub==0.22.2
9
+ typer>=0.20.0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
uv.lock CHANGED
The diff for this file is too large to render. See raw diff