Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
|
| 3 |
def execute(code, lang):
|
| 4 |
-
match lang:
|
| 5 |
case "Python":
|
| 6 |
return "Python"
|
| 7 |
case _:
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
|
| 3 |
def execute(code, lang):
|
| 4 |
+
match str(lang):
|
| 5 |
case "Python":
|
| 6 |
return "Python"
|
| 7 |
case _:
|