Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -170,14 +170,9 @@ def wrap_process_file(file_obj, tasks):
|
|
170 |
results.get('translated_text', ''),
|
171 |
results.get('classification_result', ''))
|
172 |
|
173 |
-
|
174 |
-
|
175 |
-
.
|
176 |
-
.input, .output { border-radius: 10px; box-shadow: 0 4px 14px 0 rgba(0,0,0,0.10); }
|
177 |
-
"""
|
178 |
-
|
179 |
-
def create_gradio_interface():
|
180 |
-
with gr.Blocks(css=css) as demo:
|
181 |
gr.Markdown("# LectorSync 1.0")
|
182 |
gr.Markdown("## Upload your file and select the tasks:")
|
183 |
with gr.Row():
|
|
|
170 |
results.get('translated_text', ''),
|
171 |
results.get('classification_result', ''))
|
172 |
|
173 |
+
|
174 |
+
def create_gradio_interface(theme="huggingface"):
|
175 |
+
with gr.Blocks() as demo:
|
|
|
|
|
|
|
|
|
|
|
176 |
gr.Markdown("# LectorSync 1.0")
|
177 |
gr.Markdown("## Upload your file and select the tasks:")
|
178 |
with gr.Row():
|