Daksh0505 commited on
Commit
c316e12
·
verified ·
1 Parent(s): 4796629

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -101,7 +101,7 @@ def build_model(model_choice, temperature=0.7):
101
  if model_choice == "Flan-T5 (Free)":
102
  llm = HuggingFaceEndpoint(
103
  repo_id="google/flan-t5-base",
104
- huggingfacehub_api_token=api_key,
105
  task="text2text-generation",
106
  max_new_tokens=500,
107
  temperature=temperature
 
101
  if model_choice == "Flan-T5 (Free)":
102
  llm = HuggingFaceEndpoint(
103
  repo_id="google/flan-t5-base",
104
+ huggingfacehub_api_token=api_key,
105
  task="text2text-generation",
106
  max_new_tokens=500,
107
  temperature=temperature