Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -160,10 +160,10 @@ def evaluate(
|
|
160 |
# })
|
161 |
elif llm == "flan-ul2":
|
162 |
# in development...
|
163 |
-
|
164 |
-
|
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 |
|