Spaces:
Runtime error
Runtime error
Commit
·
5de60ed
1
Parent(s):
a6aff1f
Update app.py
Browse files
app.py
CHANGED
@@ -8,7 +8,7 @@ agent = OpenAiAgent(model="text-davinci-003", api_key=os.environ.get("openai_key
|
|
8 |
|
9 |
|
10 |
def predict(text):
|
11 |
-
return agent.run("Is the following `text` (in French)
|
12 |
|
13 |
|
14 |
description = """
|
|
|
8 |
|
9 |
|
10 |
def predict(text):
|
11 |
+
return agent.run("Is the following `text` (in French) positif ou négatif?", text=text)
|
12 |
|
13 |
|
14 |
description = """
|