Spaces:
Runtime error
Runtime error
fixed table overlap
Browse files
app.py
CHANGED
@@ -67,15 +67,17 @@ print('version', gr.__version__)
|
|
67 |
with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
68 |
gr.Markdown('# Enter a prompt in one of the supported languages.')
|
69 |
with gr.Row():
|
70 |
-
gr.Markdown('| Code |
|
71 |
-
'| :------- | :------- | :--- | :------- | :-------------------
|
72 |
-
'| eng_Latn | English | # | fra_Latn | French
|
73 |
-
'| deu_Latn | German | # | ita_Latn | Italian
|
74 |
-
'| ita_Latn | Spanish | # | jpn_Jpan | Japanese
|
75 |
-
'| tur_Latn | Turkish | # | zho_Hans | Chinese (Simplified)
|
|
|
|
|
76 |
|
77 |
with gr.Column():
|
78 |
-
prompt_box = gr.Textbox(label = 'Enter your prompt', lines =
|
79 |
btn_search = gr.Button("Find images")
|
80 |
|
81 |
gallery = gr.Gallery()
|
|
|
67 |
with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
68 |
gr.Markdown('# Enter a prompt in one of the supported languages.')
|
69 |
with gr.Row():
|
70 |
+
gr.Markdown('| Code | Lang | # | Code | Lang |\n'
|
71 |
+
'| :------- | :------- | :--- | :------- | :------------------- |\n'
|
72 |
+
'| eng_Latn | English | # | fra_Latn | French |\n'
|
73 |
+
'| deu_Latn | German | # | ita_Latn | Italian |\n'
|
74 |
+
'| ita_Latn | Spanish | # | jpn_Jpan | Japanese |\n'
|
75 |
+
'| tur_Latn | Turkish | # | zho_Hans | Chinese (Simplified) |\n'
|
76 |
+
'| kor_Hang | Korean | # | pol_Latn | Polish |\n'
|
77 |
+
'| rus_Cyrl | Russian | # | . | . |\n')
|
78 |
|
79 |
with gr.Column():
|
80 |
+
prompt_box = gr.Textbox(label = 'Enter your prompt', lines = 3)
|
81 |
btn_search = gr.Button("Find images")
|
82 |
|
83 |
gallery = gr.Gallery()
|