rocketmandrey commited on
Commit
5eb8adb
·
verified ·
1 Parent(s): 1fc5003

Upload app.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -138,7 +138,7 @@ print("Generation result:", result)
138
 
139
  # Run the script
140
  result = subprocess.run(
141
- ["python", "temp_generation.py"],
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", use_column_width=True)
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(