Update app.py
Browse files
app.py
CHANGED
@@ -55,8 +55,8 @@ def switching(text):
|
|
55 |
components.html(html_content, height=800, scrolling=True)
|
56 |
elif re.search("pay the ghost", text.lower(), re.IGNORECASE):
|
57 |
components.html(html_doge_wallet, height=600, scrolling=False)
|
58 |
-
elif re.search("long live liberty
|
59 |
-
exctracted_statement = exctrator(text.lower(), phrase="long live liberty
|
60 |
print(f"exctracted_statement: {exctracted_statement}")
|
61 |
prompt = f"Evaluate how far the statement from libertarian ideology 1 to 10 and why?\n\n{exctracted_statement}"
|
62 |
print(f"Liberty prompt: {prompt}")
|
|
|
55 |
components.html(html_content, height=800, scrolling=True)
|
56 |
elif re.search("pay the ghost", text.lower(), re.IGNORECASE):
|
57 |
components.html(html_doge_wallet, height=600, scrolling=False)
|
58 |
+
elif re.search("long live liberty", text.lower(), re.IGNORECASE):
|
59 |
+
exctracted_statement = exctrator(text.lower(), phrase="long live liberty")
|
60 |
print(f"exctracted_statement: {exctracted_statement}")
|
61 |
prompt = f"Evaluate how far the statement from libertarian ideology 1 to 10 and why?\n\n{exctracted_statement}"
|
62 |
print(f"Liberty prompt: {prompt}")
|