Spaces:
Runtime error
Runtime error
Commit ·
8b7987b
1
Parent(s): 35d6c35
Update app.py
Browse files
app.py
CHANGED
|
@@ -2,8 +2,10 @@ import gradio as gr
|
|
| 2 |
import os
|
| 3 |
|
| 4 |
def greet():
|
|
|
|
| 5 |
f = open("./out.jpg","wb+")
|
| 6 |
f.close()
|
|
|
|
| 7 |
return os.system("""curl "https://www.mindat.org/imagecache/46/9c/03220450016186848702713.jpg" > ./out.jpg""")
|
| 8 |
|
| 9 |
with gr.Blocks() as iface:
|
|
|
|
| 2 |
import os
|
| 3 |
|
| 4 |
def greet():
|
| 5 |
+
print("strat")
|
| 6 |
f = open("./out.jpg","wb+")
|
| 7 |
f.close()
|
| 8 |
+
print(f)
|
| 9 |
return os.system("""curl "https://www.mindat.org/imagecache/46/9c/03220450016186848702713.jpg" > ./out.jpg""")
|
| 10 |
|
| 11 |
with gr.Blocks() as iface:
|