Spaces:
Runtime error
Runtime error
small improvements and gallery added
Browse files- GALLERY.md +13 -0
- app.py +7 -0
GALLERY.md
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# THE GALLERY
|
| 2 |
+
|
| 3 |
+
## Political Sciences
|
| 4 |
+
|
| 5 |
+
## Computer Science
|
| 6 |
+
1. Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shift [[Paper]](https://arxiv.org/pdf/1502.03167.pdf) [[Slides]](https://drive.google.com/file/d/1Zt5FFH0nKxut-LyEr9pNAIdtgR_lBtIj/view?usp=sharing) <br>
|
| 7 |
+
2. Attention Is All You Need [[Paper]](https://arxiv.org/pdf/1706.03762.pdf) [[Slides]](https://drive.google.com/file/d/1xKgohh_QKV9pD_XjDuXR566h0VJ1S7WI/view?usp=sharing) <br>
|
| 8 |
+
3. Denoising Diffusion Probabilistic Models [[Paper]](https://arxiv.org/pdf/2006.11239.pdf) [[Slides]](https://drive.google.com/file/d/1D2ZfoJpHR3kP0JdsYyjxUq-vjVMV-KTO/view?usp=sharing) <br>
|
| 9 |
+
|
| 10 |
+
## Mathematics
|
| 11 |
+
|
| 12 |
+
|
| 13 |
+
## Physics
|
app.py
CHANGED
|
@@ -2,6 +2,7 @@ from gradio_client import Client
|
|
| 2 |
import gradio as gr
|
| 3 |
import os
|
| 4 |
import random
|
|
|
|
| 5 |
|
| 6 |
def check_password(username, password):
|
| 7 |
if password == os.environ["ACCESS"]:
|
|
@@ -20,6 +21,12 @@ def func(file, number_of_pages, secret):
|
|
| 20 |
# s = "".join([str(random.randint(0, 9)) for i in range(10)])
|
| 21 |
# with open(f"{s}.tex", "w", encoding="utf-8") as f:
|
| 22 |
# f.write(text)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 23 |
return output
|
| 24 |
|
| 25 |
def upload_file(file):
|
|
|
|
| 2 |
import gradio as gr
|
| 3 |
import os
|
| 4 |
import random
|
| 5 |
+
import datetime
|
| 6 |
|
| 7 |
def check_password(username, password):
|
| 8 |
if password == os.environ["ACCESS"]:
|
|
|
|
| 21 |
# s = "".join([str(random.randint(0, 9)) for i in range(10)])
|
| 22 |
# with open(f"{s}.tex", "w", encoding="utf-8") as f:
|
| 23 |
# f.write(text)
|
| 24 |
+
|
| 25 |
+
date_string = datetime.datetime.now().strftime("%Y-%m-%d-%H-%M-%S")
|
| 26 |
+
temp_string = "% The following slide is generated with [[SCIDECK]](https://huggingface.co/spaces/Nauryzbay/Scideck)"
|
| 27 |
+
temp_string += "\n% Generated on " + date_string
|
| 28 |
+
temp_string += "\n%" + "-"*100 + "\n"
|
| 29 |
+
output = temp_string + output
|
| 30 |
return output
|
| 31 |
|
| 32 |
def upload_file(file):
|