Update app.py
Browse files
app.py
CHANGED
@@ -71,6 +71,8 @@ css = """
|
|
71 |
footer {visibility: hidden}
|
72 |
"""
|
73 |
|
|
|
|
|
74 |
with gr.Blocks(theme="Yntec/HaleyCH_Theme_Orange", css=css) as demo:
|
75 |
with gr.Row():
|
76 |
with gr.Column(scale=2):
|
@@ -85,9 +87,9 @@ with gr.Blocks(theme="Yntec/HaleyCH_Theme_Orange", css=css) as demo:
|
|
85 |
|
86 |
with gr.Column(scale=1):
|
87 |
file_upload = gr.File(
|
88 |
-
label="ํ์ผ ์
๋ก๋ (.
|
89 |
-
file_types=[".
|
90 |
-
type="file
|
91 |
)
|
92 |
|
93 |
with gr.Accordion("๊ณ ๊ธ ์ค์ ", open=False):
|
|
|
71 |
footer {visibility: hidden}
|
72 |
"""
|
73 |
|
74 |
+
# ... (์ด์ ์ฝ๋ ๋์ผ)
|
75 |
+
|
76 |
with gr.Blocks(theme="Yntec/HaleyCH_Theme_Orange", css=css) as demo:
|
77 |
with gr.Row():
|
78 |
with gr.Column(scale=2):
|
|
|
87 |
|
88 |
with gr.Column(scale=1):
|
89 |
file_upload = gr.File(
|
90 |
+
label="ํ์ผ ์
๋ก๋ (.csv, .txt, .py, .js, .html, .parquet)",
|
91 |
+
file_types=[".csv, .txt, .py, .js, .html, .parquet"],
|
92 |
+
type="filepath" # 'file'์์ 'filepath'๋ก ์์
|
93 |
)
|
94 |
|
95 |
with gr.Accordion("๊ณ ๊ธ ์ค์ ", open=False):
|