Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -66,8 +66,8 @@ def sample_info(sample_id_str, fieldn):
|
|
| 66 |
|
| 67 |
|
| 68 |
|
| 69 |
-
|
| 70 |
-
return str__, str__
|
| 71 |
|
| 72 |
|
| 73 |
if __name__ == "__main__":
|
|
@@ -78,8 +78,8 @@ if __name__ == "__main__":
|
|
| 78 |
|
| 79 |
|
| 80 |
output1 = gr.Text(label="Training sample info")
|
| 81 |
-
output2 = gr.Text(label="Training sample visualization")
|
| 82 |
-
|
| 83 |
|
| 84 |
# d1.input(update_second, d1, d2)
|
| 85 |
|
|
|
|
| 66 |
|
| 67 |
|
| 68 |
|
| 69 |
+
return str__, "test.png"
|
| 70 |
+
# return str__, str__
|
| 71 |
|
| 72 |
|
| 73 |
if __name__ == "__main__":
|
|
|
|
| 78 |
|
| 79 |
|
| 80 |
output1 = gr.Text(label="Training sample info")
|
| 81 |
+
# output2 = gr.Text(label="Training sample visualization")
|
| 82 |
+
output2 = gr.Image(label="Training sample visualization")
|
| 83 |
|
| 84 |
# d1.input(update_second, d1, d2)
|
| 85 |
|