Spaces:
Runtime error
Runtime error
Commit ·
c5e9488
1
Parent(s): 1ee35dc
Update app.py
Browse files
app.py
CHANGED
|
@@ -2,7 +2,9 @@ import gradio as gr
|
|
| 2 |
import os
|
| 3 |
|
| 4 |
def greet():
|
| 5 |
-
|
|
|
|
|
|
|
| 6 |
|
| 7 |
with gr.Blocks() as iface:
|
| 8 |
btn = gr.Button("Run")
|
|
|
|
| 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:
|
| 10 |
btn = gr.Button("Run")
|