Talip7 commited on
Commit
6802ffb
·
verified ·
1 Parent(s): 80bf58a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -81,7 +81,6 @@ def extract_text_from_pdf(file):
81
  def translate_text(text, target_lang):
82
  translation_prompt = f"Translate the following text into {target_lang}:\n\n{text}"
83
 
84
- {text}"
85
  try:
86
  response = client.chat.completions.create(
87
  model="gpt-3.5-turbo",
 
81
  def translate_text(text, target_lang):
82
  translation_prompt = f"Translate the following text into {target_lang}:\n\n{text}"
83
 
 
84
  try:
85
  response = client.chat.completions.create(
86
  model="gpt-3.5-turbo",