Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -20,7 +20,8 @@ def preprocess_text(text):
|
|
20 |
def format_answer(answer):
|
21 |
# Add answer formatting logic here
|
22 |
# For example, add bold formatting
|
23 |
-
return f**{answer}**
|
|
|
24 |
|
25 |
def get_answers(qa, question, text, max, min, do_sample):
|
26 |
try:
|
|
|
20 |
def format_answer(answer):
|
21 |
# Add answer formatting logic here
|
22 |
# For example, add bold formatting
|
23 |
+
return f"**{answer}**"
|
24 |
+
|
25 |
|
26 |
def get_answers(qa, question, text, max, min, do_sample):
|
27 |
try:
|