Spaces:
Sleeping
Sleeping
apple muncy
commited on
Commit
·
c99c69c
1
Parent(s):
c406192
adding f to print statments
Browse filesSigned-off-by: apple muncy <[email protected]>
app.py
CHANGED
@@ -149,7 +149,7 @@ async def get_agent():
|
|
149 |
def extract_tags_from_text(text: str) -> List[str]:
|
150 |
|
151 |
g_payload.append(text)
|
152 |
-
print("Tag string: {text}" )
|
153 |
"""Extract potential tags from discussion text"""
|
154 |
text_lower = text.lower()
|
155 |
|
@@ -183,7 +183,7 @@ def extract_tags_from_text(text: str) -> List[str]:
|
|
183 |
for tag in all_tags:
|
184 |
if tag in RECOGNIZED_TAGS or tag in explicit_tags:
|
185 |
valid_tags.append(tag)
|
186 |
-
print("valid tags: {valid_tags}")
|
187 |
return valid_tags
|
188 |
|
189 |
|
|
|
149 |
def extract_tags_from_text(text: str) -> List[str]:
|
150 |
|
151 |
g_payload.append(text)
|
152 |
+
print(f"Tag string: {text}" )
|
153 |
"""Extract potential tags from discussion text"""
|
154 |
text_lower = text.lower()
|
155 |
|
|
|
183 |
for tag in all_tags:
|
184 |
if tag in RECOGNIZED_TAGS or tag in explicit_tags:
|
185 |
valid_tags.append(tag)
|
186 |
+
print(f"valid tags: {valid_tags}")
|
187 |
return valid_tags
|
188 |
|
189 |
|