Upload app.py with huggingface_hub
Browse files
app.py
CHANGED
@@ -138,7 +138,7 @@ print("Generation result:", result)
|
|
138 |
|
139 |
# Run the script
|
140 |
result = subprocess.run(
|
141 |
-
["
|
142 |
capture_output=True,
|
143 |
text=True,
|
144 |
timeout=120
|
@@ -291,7 +291,7 @@ with col1:
|
|
291 |
|
292 |
if uploaded_image is not None:
|
293 |
image = Image.open(uploaded_image)
|
294 |
-
st.image(image, caption="Reference Image",
|
295 |
|
296 |
# Audio upload
|
297 |
uploaded_audio = st.file_uploader(
|
|
|
138 |
|
139 |
# Run the script
|
140 |
result = subprocess.run(
|
141 |
+
["python3", "temp_generation.py"],
|
142 |
capture_output=True,
|
143 |
text=True,
|
144 |
timeout=120
|
|
|
291 |
|
292 |
if uploaded_image is not None:
|
293 |
image = Image.open(uploaded_image)
|
294 |
+
st.image(image, caption="Reference Image", use_container_width=True)
|
295 |
|
296 |
# Audio upload
|
297 |
uploaded_audio = st.file_uploader(
|