Update app.py
Browse files
app.py
CHANGED
|
@@ -9,7 +9,7 @@ def main():
|
|
| 9 |
|
| 10 |
if uploaded_file is not None:
|
| 11 |
# Save the uploaded file to a temporary location
|
| 12 |
-
with open("
|
| 13 |
f.write(uploaded_file.getvalue())
|
| 14 |
|
| 15 |
# Run the uploaded Streamlit app as a subprocess
|
|
|
|
| 9 |
|
| 10 |
if uploaded_file is not None:
|
| 11 |
# Save the uploaded file to a temporary location
|
| 12 |
+
with open("app.py", "wb") as f:
|
| 13 |
f.write(uploaded_file.getvalue())
|
| 14 |
|
| 15 |
# Run the uploaded Streamlit app as a subprocess
|