Spaces:
Running
on
Zero
Running
on
Zero
Commit
·
7e17e4e
1
Parent(s):
f3827d2
Ignore frontmatter
Browse files- app.py +2 -2
- requirements.txt +1 -0
app.py
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
-
import
|
| 3 |
import os
|
| 4 |
import spaces
|
| 5 |
import torch
|
|
@@ -111,7 +111,7 @@ demo = gr.Interface(
|
|
| 111 |
# gr.Text(label="Field Decoder Output"),
|
| 112 |
gr.Text(label="Generated Variable List"),
|
| 113 |
],
|
| 114 |
-
description=
|
| 115 |
examples=examples,
|
| 116 |
)
|
| 117 |
demo.launch()
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
+
import frontmatter
|
| 3 |
import os
|
| 4 |
import spaces
|
| 5 |
import torch
|
|
|
|
| 111 |
# gr.Text(label="Field Decoder Output"),
|
| 112 |
gr.Text(label="Generated Variable List"),
|
| 113 |
],
|
| 114 |
+
description=frontmatter.load("README.md").content,
|
| 115 |
examples=examples,
|
| 116 |
)
|
| 117 |
demo.launch()
|
requirements.txt
CHANGED
|
@@ -1,2 +1,3 @@
|
|
| 1 |
transformers
|
| 2 |
accelerate
|
|
|
|
|
|
| 1 |
transformers
|
| 2 |
accelerate
|
| 3 |
+
python-frontmatter
|