AlexanderBenady commited on
Commit
b7bf3f2
1 Parent(s): effff6d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -8
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
- css = """
174
- body { font-family: 'Arial'; }
175
- .gradio-container { max-width: 800px; margin: auto; padding: 20px; }
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():