Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -38,5 +38,7 @@ def summarize(Input_Text):
|
|
38 |
|
39 |
outputtext = text(Input_Text)
|
40 |
return outputtext
|
41 |
-
gr.Interface(fn=summarize, inputs=gr.inputs.Textbox(lines=7, placeholder="Enter text here"),
|
|
|
|
|
42 |
]]).launch(inline=False)
|
|
|
38 |
|
39 |
outputtext = text(Input_Text)
|
40 |
return outputtext
|
41 |
+
gr.Interface(fn=summarize, inputs=gr.inputs.Textbox(lines=7, placeholder="Enter text here"), css="""span.svelte-1l2rj76{color: #591fc9;font-size: 18px;
|
42 |
+
font-weight: 600;}.secondary.svelte-1ma3u5b{background: #591fc9; color: #fff;}.secondary.svelte-1ma3u5b:hover{background:#8a59e8;color:#000;}
|
43 |
+
.svelte-2xzfnp textarea {border: 1px solid #591fc9}.primary.svelte-1ma3u5b{background: #f8d605;color: #000;}.primary.svelte-1ma3u5b:hover{background: #ffe751;color: #591fc9;} """, outputs=[gr.outputs.Textbox(label="Paraphrased Text")],examples=[["developed by python team"
|
44 |
]]).launch(inline=False)
|