Spaces:
Running
on
T4
Running
on
T4
Update app.py
Browse files
app.py
CHANGED
|
@@ -96,9 +96,9 @@ with gr.Blocks() as demo:
|
|
| 96 |
#yield s
|
| 97 |
q = image_clean
|
| 98 |
q = q.reshape((64, 320, 3))
|
| 99 |
-
print (q.min(), q.max())
|
| 100 |
yield i, q, gr.update(visible=False)
|
| 101 |
-
yield i, q,
|
| 102 |
#with requests.post(url=API_ENDPOINT, data=data, timeout=600, stream=True) as r:
|
| 103 |
# i = 0
|
| 104 |
# for line in r.iter_lines():
|
|
|
|
| 96 |
#yield s
|
| 97 |
q = image_clean
|
| 98 |
q = q.reshape((64, 320, 3))
|
| 99 |
+
#print (q.min(), q.max())
|
| 100 |
yield i, q, gr.update(visible=False)
|
| 101 |
+
yield i, q, gr.update(visible=True)
|
| 102 |
#with requests.post(url=API_ENDPOINT, data=data, timeout=600, stream=True) as r:
|
| 103 |
# i = 0
|
| 104 |
# for line in r.iter_lines():
|