Upload app.py
Browse files
app.py
CHANGED
@@ -564,7 +564,12 @@ def update_translations(image, edited_texts, translations_list, img_removed_text
|
|
564 |
|
565 |
|
566 |
|
567 |
-
with gr.Blocks(title="Nativ - Demo"
|
|
|
|
|
|
|
|
|
|
|
568 |
# Store translations list in state
|
569 |
translations_state = gr.State([])
|
570 |
|
|
|
564 |
|
565 |
|
566 |
|
567 |
+
with gr.Blocks(title="Nativ - Demo", examples=[
|
568 |
+
["assets/chinese.png", "Simplified Chinese", "English", "Basic", "omniscript_bold", "#000000"],
|
569 |
+
["assets/chinese.png", "Simplified Chinese", "English", "Advanced", "Ldfcomicsansbold", "#d31515"],
|
570 |
+
["assets/korean.png", "Korean", "Spanish", "Basic", "omniscript_bold", "#000000"],
|
571 |
+
["assets/chinese.png", "English", "French", "Basic", "omniscript_bold", "#000000"],
|
572 |
+
]) as demo:
|
573 |
# Store translations list in state
|
574 |
translations_state = gr.State([])
|
575 |
|