Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -6,7 +6,7 @@ import torch
|
|
| 6 |
import subprocess
|
| 7 |
package_to_uninstall = "flash-attn"
|
| 8 |
command = ["python", "-m", "pip", "uninstall", "-y", package_to_uninstall]
|
| 9 |
-
|
| 10 |
|
| 11 |
import gradio as gr
|
| 12 |
import imageio
|
|
|
|
| 6 |
import subprocess
|
| 7 |
package_to_uninstall = "flash-attn"
|
| 8 |
command = ["python", "-m", "pip", "uninstall", "-y", package_to_uninstall]
|
| 9 |
+
result = subprocess.run(command, check=True, capture_output=True, text=True)
|
| 10 |
|
| 11 |
import gradio as gr
|
| 12 |
import imageio
|