PierreBrunelle commited on
Commit
8561e77
·
verified ·
1 Parent(s): f5b67d3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -279,7 +279,7 @@ def gradio_interface():
279
  ["Sentiment Analysis",
280
  "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.",
281
  "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!",
282
- 0.3, 0.95, 200],
283
 
284
  # Example 2: Creative Writing
285
  ["Story Generation",
@@ -291,7 +291,7 @@ def gradio_interface():
291
  gr.Examples(
292
  examples=examples,
293
  inputs=[task, system_prompt, input_text, temperature, top_p, max_tokens, min_tokens, stop, random_seed, safe_prompt],
294
- outputs=[omn_response, ml_response, large_sentiment, open_sentiment, large_keywords, open_keywords, large_readability, open_readability, history, responses, analysis, params],
295
  fn=run_inference_and_analysis,
296
  cache_examples=True,
297
  )
 
279
  ["Sentiment Analysis",
280
  "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.",
281
  "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!",
282
+ 0.3, 0.95, 200, ""],
283
 
284
  # Example 2: Creative Writing
285
  ["Story Generation",
 
291
  gr.Examples(
292
  examples=examples,
293
  inputs=[task, system_prompt, input_text, temperature, top_p, max_tokens, min_tokens, stop, random_seed, safe_prompt],
294
+ outputs=[omn_response, ml_response, large_sentiment, open_sentiment, large_keywords, open_keywords, large_readability, open_readability],
295
  fn=run_inference_and_analysis,
296
  cache_examples=True,
297
  )