openfree commited on
Commit
d5c1f25
ยท
verified ยท
1 Parent(s): 7ffca43

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -3
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="ํŒŒ์ผ ์—…๋กœ๋“œ (.cod, .txt, .py, .parquet)",
89
- file_types=[".cod", ".txt", ".py", ".parquet"],
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):