levisstrauss commited on
Commit
9e49eef
Β·
1 Parent(s): f800176

Fix dependencies issues

Browse files
Files changed (2) hide show
  1. app.py +5 -9
  2. requirements.txt +2 -8
app.py CHANGED
@@ -1028,7 +1028,7 @@ def create_interface():
1028
  return filename
1029
 
1030
  # Build the interface
1031
- with gr.Blocks(css=CUSTOM_CSS, title="AI Project Planner", theme=gr.themes.Base()) as app:
1032
 
1033
  # Header
1034
  gr.HTML("""
@@ -1099,29 +1099,25 @@ def create_interface():
1099
  with gr.Tab("πŸ‘€ User Stories"):
1100
  user_stories_output = gr.Textbox(
1101
  label="User Stories",
1102
- lines=15,
1103
- show_copy_button=True
1104
  )
1105
 
1106
  with gr.Tab("πŸ“¦ Features"):
1107
  features_output = gr.Textbox(
1108
  label="Product Features",
1109
- lines=15,
1110
- show_copy_button=True
1111
  )
1112
 
1113
  with gr.Tab("πŸ”§ Tasks"):
1114
  tasks_output = gr.Textbox(
1115
  label="Engineering Tasks",
1116
- lines=15,
1117
- show_copy_button=True
1118
  )
1119
 
1120
  with gr.Tab("πŸ“‹ Full Plan"):
1121
  full_plan_output = gr.Textbox(
1122
  label="Complete Project Plan",
1123
- lines=20,
1124
- show_copy_button=True
1125
  )
1126
 
1127
  gr.Markdown("### πŸ“₯ Export")
 
1028
  return filename
1029
 
1030
  # Build the interface
1031
+ with gr.Blocks(title="AI Project Planner") as app:
1032
 
1033
  # Header
1034
  gr.HTML("""
 
1099
  with gr.Tab("πŸ‘€ User Stories"):
1100
  user_stories_output = gr.Textbox(
1101
  label="User Stories",
1102
+ lines=15
 
1103
  )
1104
 
1105
  with gr.Tab("πŸ“¦ Features"):
1106
  features_output = gr.Textbox(
1107
  label="Product Features",
1108
+ lines=15
 
1109
  )
1110
 
1111
  with gr.Tab("πŸ”§ Tasks"):
1112
  tasks_output = gr.Textbox(
1113
  label="Engineering Tasks",
1114
+ lines=15
 
1115
  )
1116
 
1117
  with gr.Tab("πŸ“‹ Full Plan"):
1118
  full_plan_output = gr.Textbox(
1119
  label="Complete Project Plan",
1120
+ lines=20
 
1121
  )
1122
 
1123
  gr.Markdown("### πŸ“₯ Export")
requirements.txt CHANGED
@@ -2,13 +2,7 @@
2
  # For Hugging Face Spaces deployment
3
 
4
  # Core Framework
5
- gradio>=4.0.0
6
-
7
- # OpenAI API
8
  openai>=1.0.0
9
-
10
- # Data Processing
11
  numpy>=1.24.0
12
-
13
- # Environment Management
14
- python-dotenv>=1.0.0
 
2
  # For Hugging Face Spaces deployment
3
 
4
  # Core Framework
5
+ gradio==4.44.0
 
 
6
  openai>=1.0.0
 
 
7
  numpy>=1.24.0
8
+ python-dotenv>=1.0.0