Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -1928,24 +1928,23 @@ def create_ui():
|
|
1928 |
|
1929 |
with gr.Column(scale=6):
|
1930 |
with gr.Column(visible=False) as modules_not_need_gpt:
|
1931 |
-
with gr.Blocks(css=".gradio-container .radio-item:nth-child(1) label { color: blue; } .gradio-container .radio-item:nth-child(2) label { color: orange; } .gradio-container .radio-item:nth-child(3) label { color: green; }"):
|
1932 |
|
1933 |
-
|
1934 |
-
|
1935 |
-
|
1936 |
-
|
1937 |
-
|
1938 |
-
|
1939 |
-
|
1940 |
-
|
1941 |
-
|
1942 |
-
|
1943 |
-
|
1944 |
-
|
1945 |
-
|
1946 |
-
|
1947 |
-
|
1948 |
-
|
1949 |
with gr.Tab("Base(GPT Power)",visible=False) as base_tab:
|
1950 |
image_input_base = gr.Image(type="pil", interactive=True, elem_classes="image_upload",height=650)
|
1951 |
with gr.Row():
|
|
|
1928 |
|
1929 |
with gr.Column(scale=6):
|
1930 |
with gr.Column(visible=False) as modules_not_need_gpt:
|
|
|
1931 |
|
1932 |
+
with gr.Row():
|
1933 |
+
naritive = gr.Radio(
|
1934 |
+
choices=["Narrator", "Artist","In-Situ"],
|
1935 |
+
value="Narrator",
|
1936 |
+
label="Select Mode",
|
1937 |
+
scale=5,
|
1938 |
+
interactive=True)
|
1939 |
+
|
1940 |
+
add_button = gr.Button(value="Extend Area", interactive=True,elem_classes="tools_button_add",icon=add_icon_path)
|
1941 |
+
minus_button = gr.Button(value="Remove Area", interactive=True,elem_classes="tools_button",icon=minus_icon_path)
|
1942 |
+
clear_button_click = gr.Button(value="Reset", interactive=True,elem_classes="tools_button",icon="assets/icons/recycle.png")
|
1943 |
+
|
1944 |
+
auto_play = gr.Checkbox(
|
1945 |
+
label="Check to autoplay audio", value=True, elem_classes="custom-autoplay",visible=False)
|
1946 |
+
output_audio = gr.HTML(
|
1947 |
+
label="Synthesised Audio", elem_classes="custom-output", visible=False)
|
1948 |
with gr.Tab("Base(GPT Power)",visible=False) as base_tab:
|
1949 |
image_input_base = gr.Image(type="pil", interactive=True, elem_classes="image_upload",height=650)
|
1950 |
with gr.Row():
|