Spaces:
Runtime error
Runtime error
added description and changed passwprd
Browse files
app.py
CHANGED
@@ -34,8 +34,11 @@ if __name__ == "__main__":
|
|
34 |
client = Client.duplicate("Nauryzbay/deckify_private", hf_token=read_key)
|
35 |
|
36 |
with gr.Blocks() as demo:
|
|
|
|
|
|
|
37 |
file_output = gr.File()
|
38 |
-
upload_button = gr.UploadButton("Click to Upload a PDF File", file_types=["file"], file_count="single")
|
39 |
upload_button.upload(upload_file, upload_button, file_output)
|
40 |
|
41 |
number_of_pages = gr.Number(label="Number of pages")
|
|
|
34 |
client = Client.duplicate("Nauryzbay/deckify_private", hf_token=read_key)
|
35 |
|
36 |
with gr.Blocks() as demo:
|
37 |
+
gr.Markdown("# Scideck: Generate slides (LaTeX Beamer) from PDF")
|
38 |
+
gr.Markdown(description)
|
39 |
+
|
40 |
file_output = gr.File()
|
41 |
+
upload_button = gr.UploadButton("Click to Upload a PDF File", file_types=["file"], file_count="single", size="sm")
|
42 |
upload_button.upload(upload_file, upload_button, file_output)
|
43 |
|
44 |
number_of_pages = gr.Number(label="Number of pages")
|