Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -50,7 +50,7 @@ def create():
|
|
50 |
|
51 |
|
52 |
# Specify the directory you want to search in, e.g., the current directory
|
53 |
-
directory = '
|
54 |
# List all entries in the directory
|
55 |
entries = os.listdir(directory)
|
56 |
print(f"listdir of temp_dir directory = {entries}")
|
@@ -67,6 +67,6 @@ with gr.Blocks(delete_cache=(5,10),
|
|
67 |
btn = gr.Button("GO!")
|
68 |
btn.click(create,inputs=[],outputs=[out, inp])
|
69 |
|
70 |
-
filepath11 = demo.move_resource_to_block_cache('/content/testing/mp333.png')
|
71 |
-
print(f'filepath11 ^^^^^^= {filepath11}')
|
72 |
demo.launch(debug=False)
|
|
|
50 |
|
51 |
|
52 |
# Specify the directory you want to search in, e.g., the current directory
|
53 |
+
directory = 'temp_dir'
|
54 |
# List all entries in the directory
|
55 |
entries = os.listdir(directory)
|
56 |
print(f"listdir of temp_dir directory = {entries}")
|
|
|
67 |
btn = gr.Button("GO!")
|
68 |
btn.click(create,inputs=[],outputs=[out, inp])
|
69 |
|
70 |
+
#filepath11 = demo.move_resource_to_block_cache('/content/testing/mp333.png')
|
71 |
+
#print(f'filepath11 ^^^^^^= {filepath11}')
|
72 |
demo.launch(debug=False)
|