fl399 commited on
Commit
6e32116
·
1 Parent(s): 184f5ef

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -160,10 +160,10 @@ def evaluate(
160
  # })
161
  elif llm == "flan-ul2":
162
  # in development...
163
- # output = query({
164
- # "inputs": prompt
165
- # })
166
- output = "in dev..."
167
  else:
168
  RuntimeError(f"No such LLM: {llm}")
169
 
 
160
  # })
161
  elif llm == "flan-ul2":
162
  # in development...
163
+ output = query({
164
+ "inputs": prompt
165
+ }) #[0]["generated_text"]
166
+ # output = "in dev..."
167
  else:
168
  RuntimeError(f"No such LLM: {llm}")
169