Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -14,7 +14,7 @@ llm = HuggingFaceEndpoint(
|
|
14 |
)
|
15 |
# Define the function to process user input
|
16 |
def classify_text(text):
|
17 |
-
prompt = f"""Classify the following text into relevant categories.
|
18 |
Text: {text.strip()}
|
19 |
Categories:"""
|
20 |
|
|
|
14 |
)
|
15 |
# Define the function to process user input
|
16 |
def classify_text(text):
|
17 |
+
prompt = f"""Classify the following text into relevant categories.
|
18 |
Text: {text.strip()}
|
19 |
Categories:"""
|
20 |
|