Spaces:
Running
Running
Suchinthana
commited on
Commit
·
9ec27b5
1
Parent(s):
2dcfda6
Update app.py
Browse files
app.py
CHANGED
@@ -19,8 +19,7 @@ iface = gr.Interface(
|
|
19 |
fn=generate_sinhala_text,
|
20 |
inputs=gr.Textbox(label="Topic Here"),
|
21 |
outputs=gr.Textbox(lines=3, placeholder="Result Comes Here...", label="Output"),
|
22 |
-
live=loading
|
23 |
-
capture_session=True # Add capture_session parameter
|
24 |
)
|
25 |
|
26 |
iface.launch()
|
|
|
19 |
fn=generate_sinhala_text,
|
20 |
inputs=gr.Textbox(label="Topic Here"),
|
21 |
outputs=gr.Textbox(lines=3, placeholder="Result Comes Here...", label="Output"),
|
22 |
+
live=loading # Add the loading function here
|
|
|
23 |
)
|
24 |
|
25 |
iface.launch()
|