Spaces:
Runtime error
Runtime error
David Krajewski
commited on
Commit
·
69f5e2d
1
Parent(s):
108de9e
Look for file
Browse files
app.py
CHANGED
|
@@ -648,7 +648,19 @@ class Drag:
|
|
| 648 |
|
| 649 |
with gr.Blocks() as demo:
|
| 650 |
print(f"Current CUDA version: {torch.version.cuda}")
|
| 651 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 652 |
gr.Markdown("""<h1 align="center">MOFA-Video</h1><br>""")
|
| 653 |
|
| 654 |
gr.Markdown("""Official Gradio Demo for <a href='https://myniuuu.github.io/MOFA_Video'><b>MOFA-Video: Controllable Image Animation via Generative Motion Field Adaptions in Frozen Image-to-Video Diffusion Model</b></a>.<br>""")
|
|
|
|
| 648 |
|
| 649 |
with gr.Blocks() as demo:
|
| 650 |
print(f"Current CUDA version: {torch.version.cuda}")
|
| 651 |
+
import subprocess
|
| 652 |
+
|
| 653 |
+
def find_file(filename):
|
| 654 |
+
result = subprocess.run(['find', '/', '-name', filename], stdout=subprocess.PIPE, stderr=subprocess.PIPE, text=True)
|
| 655 |
+
if result.returncode == 0:
|
| 656 |
+
print(f"Found the file '{filename}' at the following locations:")
|
| 657 |
+
print(result.stdout)
|
| 658 |
+
else:
|
| 659 |
+
print(f"Error occurred while searching for the file '{filename}':")
|
| 660 |
+
print(result.stderr)
|
| 661 |
+
|
| 662 |
+
find_file("libcusolver.so.11")
|
| 663 |
+
|
| 664 |
gr.Markdown("""<h1 align="center">MOFA-Video</h1><br>""")
|
| 665 |
|
| 666 |
gr.Markdown("""Official Gradio Demo for <a href='https://myniuuu.github.io/MOFA_Video'><b>MOFA-Video: Controllable Image Animation via Generative Motion Field Adaptions in Frozen Image-to-Video Diffusion Model</b></a>.<br>""")
|