Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -124,9 +124,8 @@ def compile(cs):
|
|
124 |
text=True,
|
125 |
check=True
|
126 |
)
|
127 |
-
print(result)
|
128 |
except subprocess.CalledProcessError as e:
|
129 |
-
gr.Error(f"
|
130 |
except:
|
131 |
gr.Error("Unknown error!")
|
132 |
|
|
|
124 |
text=True,
|
125 |
check=True
|
126 |
)
|
|
|
127 |
except subprocess.CalledProcessError as e:
|
128 |
+
gr.Error(f"{e.stderr}")
|
129 |
except:
|
130 |
gr.Error("Unknown error!")
|
131 |
|