Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 |
-
"
|
116 |
-
"
|
117 |
-
"
|
118 |
-
"
|
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="
|
134 |
-
description="
|
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()
|