Spaces:
Running
Running
eternalBlissard
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -3,6 +3,8 @@ import gradio as gr
|
|
3 |
def respond(newVal, previous_val):
|
4 |
if previous_val is None:
|
5 |
previous_val = newVal
|
|
|
|
|
6 |
return previous_val
|
7 |
|
8 |
with gr.Blocks() as demo:
|
|
|
3 |
def respond(newVal, previous_val):
|
4 |
if previous_val is None:
|
5 |
previous_val = newVal
|
6 |
+
else:
|
7 |
+
previous_val = newVal+"chalgaya"
|
8 |
return previous_val
|
9 |
|
10 |
with gr.Blocks() as demo:
|