azamat commited on
Commit
6f768d8
·
verified ·
1 Parent(s): 5081e65

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -28,7 +28,7 @@ model = LiteLLMModel(
28
  def analyze_petition(petition: str, best_practices: str) -> str:
29
  """A tool that receives a political petition text and analyses it for improvements to make it follow the best practices and returns optimized petition using Markdown.
30
  Args:
31
- petiton: A string containing a political petition text.
32
  best_practices: A string containing a list of best practices for creating efficient, appealing and call-to-action political petition.
33
  """
34
  completion = client.chat.completions.create(
@@ -55,7 +55,7 @@ def analyze_petition(petition: str, best_practices: str) -> str:
55
  def create_presentation(petition: str) -> str:
56
  """A tool that receives a political petition text and generates slides presented in Markdown.
57
  Args:
58
- petiton: A string containing a political petition text.
59
  """
60
  completion = client.chat.completions.create(
61
  model="google/gemini-2.0-flash",
 
28
  def analyze_petition(petition: str, best_practices: str) -> str:
29
  """A tool that receives a political petition text and analyses it for improvements to make it follow the best practices and returns optimized petition using Markdown.
30
  Args:
31
+ petition: A string containing a political petition text.
32
  best_practices: A string containing a list of best practices for creating efficient, appealing and call-to-action political petition.
33
  """
34
  completion = client.chat.completions.create(
 
55
  def create_presentation(petition: str) -> str:
56
  """A tool that receives a political petition text and generates slides presented in Markdown.
57
  Args:
58
+ petition: A string containing a political petition text.
59
  """
60
  completion = client.chat.completions.create(
61
  model="google/gemini-2.0-flash",