Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -10,9 +10,8 @@ from groq import Groq
|
|
10 |
from openai import OpenAI
|
11 |
|
12 |
# Set up the Groq client
|
13 |
-
|
14 |
-
|
15 |
-
client = Groq(api_key=os.environ.get("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"))
|
16 |
|
17 |
# Load a fake news detection model from Hugging Face
|
18 |
fake_news_pipeline = pipeline("text-classification", model="mrm8488/bert-tiny-finetuned-fake-news-detection")
|
|
|
10 |
from openai import OpenAI
|
11 |
|
12 |
# Set up the Groq client
|
13 |
+
import os
|
14 |
+
client = Groq(api_key=os.getenv("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"))
|
|
|
15 |
|
16 |
# Load a fake news detection model from Hugging Face
|
17 |
fake_news_pipeline = pipeline("text-classification", model="mrm8488/bert-tiny-finetuned-fake-news-detection")
|