roshnn24 commited on
Commit
4f3d8ba
·
verified ·
1 Parent(s): 2fead92

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -152,7 +152,8 @@ def initialize_llm():
152
  # Initialize with minimal settings
153
  llm = HuggingFaceHub(
154
  repo_id="microsoft/phi-4", # Using a simpler model for testing
155
- huggingfacehub_api_token=api_token
 
156
  )
157
 
158
  # Quick test
 
152
  # Initialize with minimal settings
153
  llm = HuggingFaceHub(
154
  repo_id="microsoft/phi-4", # Using a simpler model for testing
155
+ huggingfacehub_api_token=api_token,
156
+ task="text-generation"
157
  )
158
 
159
  # Quick test