Spaces:
Build error
Build error
Commit
·
2c3cd08
1
Parent(s):
8701b59
cleaning
Browse files- .gitignore +3 -1
- app.py +1 -1
.gitignore
CHANGED
|
@@ -1 +1,3 @@
|
|
| 1 |
-
all_unique_modules.json
|
|
|
|
|
|
|
|
|
| 1 |
+
all_unique_modules.json
|
| 2 |
+
oai.py
|
| 3 |
+
load_db.py
|
app.py
CHANGED
|
@@ -151,7 +151,7 @@ def load_pdf(inp):
|
|
| 151 |
with gr.Blocks() as app:
|
| 152 |
file = gr.File(type="binary")
|
| 153 |
load_file_button = gr.Button("Load")
|
| 154 |
-
with gr.Accordion("
|
| 155 |
handbook = gr.TextArea(label="Modulhandbuch")
|
| 156 |
|
| 157 |
load_file_button.click(load_pdf,inputs=file,outputs=handbook)
|
|
|
|
| 151 |
with gr.Blocks() as app:
|
| 152 |
file = gr.File(type="binary")
|
| 153 |
load_file_button = gr.Button("Load")
|
| 154 |
+
with gr.Accordion("Text anzeigen",open=False):
|
| 155 |
handbook = gr.TextArea(label="Modulhandbuch")
|
| 156 |
|
| 157 |
load_file_button.click(load_pdf,inputs=file,outputs=handbook)
|