Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -21,7 +21,7 @@ def generate(input_file):
|
|
21 |
except:
|
22 |
return HTML_TEMPLATE.format(content='Error: could not open the provided file')
|
23 |
|
24 |
-
return HTML_TEMPLATE.format(content=f'Success! File={}'
|
25 |
|
26 |
|
27 |
demo = gr.Blocks()
|
|
|
21 |
except:
|
22 |
return HTML_TEMPLATE.format(content='Error: could not open the provided file')
|
23 |
|
24 |
+
return HTML_TEMPLATE.format(content=f'Success! File={path}')
|
25 |
|
26 |
|
27 |
demo = gr.Blocks()
|