Spaces:
Runtime error
Runtime error
add description
Browse files
app.py
CHANGED
@@ -17,6 +17,17 @@ def func(file, number_of_pages, secret):
|
|
17 |
def upload_file(file):
|
18 |
return file.name
|
19 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
read_key = os.environ.get("HF_TOKEN", None)
|
21 |
|
22 |
if __name__ == "__main__":
|
|
|
17 |
def upload_file(file):
|
18 |
return file.name
|
19 |
|
20 |
+
description = r"""
|
21 |
+
<b> Scideck </b> is a tool that allows you to convert your PDF files into a presentation deck.
|
22 |
+
<br>
|
23 |
+
|
24 |
+
❗️❗️❗️[<b>Important</b>] Instructions:<br>
|
25 |
+
1️⃣ <b>Upload the PDF document</b>: Select the PDF file you want to convert into slides.<br>
|
26 |
+
2️⃣ <b>Specify the number of pages</b>: Indicate the range of pages you'd like to include in the slide generation.<br>
|
27 |
+
3️⃣ <b>Click the Generate button</b>: Initiate the slide generation process by clicking the designated "Generate" button.<br>
|
28 |
+
4️⃣ <b>Wait for approximately 200 seconds</b>: Allow a brief moment for the system to generate the slides. The process may take up to 200 seconds.<br>
|
29 |
+
"""
|
30 |
+
|
31 |
read_key = os.environ.get("HF_TOKEN", None)
|
32 |
|
33 |
if __name__ == "__main__":
|