Update app.py
Browse files
app.py
CHANGED
|
@@ -49,9 +49,7 @@ with gr.Blocks(css=".gr-box {border-radius: 8px;}") as demo:
|
|
| 49 |
# Drag & Drop Datei-Upload
|
| 50 |
with gr.Row():
|
| 51 |
with gr.Column():
|
| 52 |
-
|
| 53 |
-
file_input = gr.File(label="Datei hochladen", file_types=['.pdf', '.txt', '.doc'], interactive=True)
|
| 54 |
-
print(file_input)
|
| 55 |
with gr.Column():
|
| 56 |
output_text = gr.Textbox(label="Dateiinhalt", lines=10)
|
| 57 |
|
|
|
|
| 49 |
# Drag & Drop Datei-Upload
|
| 50 |
with gr.Row():
|
| 51 |
with gr.Column():
|
| 52 |
+
file_input = gr.File(label="Datei hochladen", file_types=['text'], interactive=True)
|
|
|
|
|
|
|
| 53 |
with gr.Column():
|
| 54 |
output_text = gr.Textbox(label="Dateiinhalt", lines=10)
|
| 55 |
|