NKessler commited on
Commit
09b3a79
·
verified ·
1 Parent(s): acdbc8b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -3
app.py CHANGED
@@ -65,8 +65,6 @@ def analyze_article(text: str) -> dict:
65
  Text to analyze:
66
  "{safe_text}"
67
  """
68
-
69
- messages = [{"role": "user", "content": prompt}]
70
  response = ai_model.generate_content(
71
  prompt,
72
  generation_config=genai.GenerationConfig(
@@ -217,7 +215,6 @@ def check_contradiction(text_a: str, text_b: str) -> dict:
217
  Text 1: "{safe_a}"
218
  Text 2: "{safe_b}"
219
  """
220
- messages = [{"role": "user", "content": prompt}]
221
  response = ai_model.generate_content(
222
  prompt,
223
  generation_config=genai.GenerationConfig(
 
65
  Text to analyze:
66
  "{safe_text}"
67
  """
 
 
68
  response = ai_model.generate_content(
69
  prompt,
70
  generation_config=genai.GenerationConfig(
 
215
  Text 1: "{safe_a}"
216
  Text 2: "{safe_b}"
217
  """
 
218
  response = ai_model.generate_content(
219
  prompt,
220
  generation_config=genai.GenerationConfig(