Update app.py
Browse files
app.py
CHANGED
@@ -7,10 +7,9 @@ def change_textbox(choice, textin):
|
|
7 |
if choice == "short":
|
8 |
return textin[:-50] + api(textin[-50:])
|
9 |
elif choice == "long":
|
10 |
-
return textin[:-
|
11 |
-
#return gr.Textbox.update(lines=8, visible=True)
|
12 |
else:
|
13 |
-
return
|
14 |
|
15 |
with gr.Blocks() as block:
|
16 |
radio = gr.Radio(
|
|
|
7 |
if choice == "short":
|
8 |
return textin[:-50] + api(textin[-50:])
|
9 |
elif choice == "long":
|
10 |
+
return textin[:-50] + api(textin[-50:])
|
|
|
11 |
else:
|
12 |
+
return textin[:-50] + api(textin[-50:])
|
13 |
|
14 |
with gr.Blocks() as block:
|
15 |
radio = gr.Radio(
|