Minor refactoring
Browse files- neukit/gui.py +1 -1
neukit/gui.py
CHANGED
@@ -81,7 +81,7 @@ class WebUI:
|
|
81 |
"""
|
82 |
with gr.Blocks(css=css) as demo:
|
83 |
with gr.Row():
|
84 |
-
file_output = gr.File(file_count="single", elem_id="upload")
|
85 |
file_output.upload(self.upload_file, file_output, file_output)
|
86 |
|
87 |
model_selector = gr.Dropdown(
|
|
|
81 |
"""
|
82 |
with gr.Blocks(css=css) as demo:
|
83 |
with gr.Row():
|
84 |
+
file_output = gr.File(file_count="single", elem_id="upload")
|
85 |
file_output.upload(self.upload_file, file_output, file_output)
|
86 |
|
87 |
model_selector = gr.Dropdown(
|