abischoff commited on
Commit
41bbc0b
·
verified ·
1 Parent(s): 0cfba56

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
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
- print("Hallo")
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