yunuseduran commited on
Commit
d0adb44
·
verified ·
1 Parent(s): 9ff0896

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -112,10 +112,10 @@ def process_pdf(pdf_file, user_questions):
112
  return html_text, f"/tmp/{doc_name}"
113
 
114
  questions = [
115
- "Who are the authors of the article?",
116
- "What models were used?",
117
- "How many references are there?",
118
- "In what year was it published?"
119
  ]
120
 
121
  questions_str = "\n".join(questions)
@@ -130,8 +130,8 @@ iface = gr.Interface(
130
  gr.HTML(label="HTML Formatted Report"),
131
  gr.File(label="DOCX File Output", type="binary")
132
  ],
133
- title="REPORT GENERATOR: ASK YOUR QUESTIONS TO A PDF FILE BY @YED",
134
- description="Upload a PDF to ask questions and get the answers."
135
  )
136
 
137
  setup_api_key()
 
112
  return html_text, f"/tmp/{doc_name}"
113
 
114
  questions = [
115
+ "Makalenin yazarları kimlerdir?",
116
+ "Hangi modeller kullanılmıştır?",
117
+ "Kaç referans vardır?",
118
+ "Hangi yılda yayınlanmıştır?"
119
  ]
120
 
121
  questions_str = "\n".join(questions)
 
130
  gr.HTML(label="HTML Formatted Report"),
131
  gr.File(label="DOCX File Output", type="binary")
132
  ],
133
+ title="Pdflerinizden kısa rapor oluşturma aracı @YED",
134
+ description="Sorularınızı sormak ve cevap almak için PDF'inizi yükleyin."
135
  )
136
 
137
  setup_api_key()