PierreBrunelle
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -272,13 +272,13 @@ def gradio_interface():
|
|
272 |
["Sentiment Analysis",
|
273 |
"You are an AI trained to analyze the sentiment of text. Provide a detailed analysis of the emotional tone, highlighting key phrases that indicate sentiment.",
|
274 |
"The new restaurant downtown exceeded all my expectations. The food was exquisite, the service impeccable, and the ambiance was perfect for a romantic evening. I can't wait to go back!",
|
275 |
-
0.3, 0.95, 200,
|
276 |
|
277 |
# Example 2: Creative Writing
|
278 |
["Story Generation",
|
279 |
"You are a creative writer. Generate a short, engaging story based on the given prompt. Include vivid descriptions and an unexpected twist.",
|
280 |
"In a world where dreams are shared, a young girl discovers she can manipulate other people's dreams.",
|
281 |
-
0.9, 0.8, 500, 300,
|
282 |
]
|
283 |
|
284 |
gr.Examples(
|
|
|
272 |
["Sentiment Analysis",
|
273 |
"You are an AI trained to analyze the sentiment of text. Provide a detailed analysis of the emotional tone, highlighting key phrases that indicate sentiment.",
|
274 |
"The new restaurant downtown exceeded all my expectations. The food was exquisite, the service impeccable, and the ambiance was perfect for a romantic evening. I can't wait to go back!",
|
275 |
+
0.3, 0.95, 200, 3, None, False],
|
276 |
|
277 |
# Example 2: Creative Writing
|
278 |
["Story Generation",
|
279 |
"You are a creative writer. Generate a short, engaging story based on the given prompt. Include vivid descriptions and an unexpected twist.",
|
280 |
"In a world where dreams are shared, a young girl discovers she can manipulate other people's dreams.",
|
281 |
+
0.9, 0.8, 500, 300, 1, None, False]
|
282 |
]
|
283 |
|
284 |
gr.Examples(
|