Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -68,6 +68,7 @@ with gr.Blocks(delete_cache=(5,10),
|
|
| 68 |
with gr.Row():
|
| 69 |
inp = gr.Textbox(placeholder="What is your name?")
|
| 70 |
out = gr.Image(type='filepath')
|
|
|
|
| 71 |
btn = gr.Button("GO!")
|
| 72 |
btn.click(create,inputs=[],outputs=[out, inp])
|
| 73 |
|
|
|
|
| 68 |
with gr.Row():
|
| 69 |
inp = gr.Textbox(placeholder="What is your name?")
|
| 70 |
out = gr.Image(type='filepath')
|
| 71 |
+
gr.FileExplorer(root="/data", label="Persistent storage")
|
| 72 |
btn = gr.Button("GO!")
|
| 73 |
btn.click(create,inputs=[],outputs=[out, inp])
|
| 74 |
|