Spaces:
Build error
Build error
Create app.py
Browse files
app.py
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import gradio as gr
|
2 |
+
import psevdocompilerlib as pcl
|
3 |
+
|
4 |
+
with gr.Blocks() as app:
|
5 |
+
gr.Markdown("Enter your Russian psevdocode for generating python3 code:")
|
6 |
+
gr.Interface(inputs="text", outputs="text", fn=pcl.compile_code)
|
7 |
+
gr.HTML("<small>Made by Arigadam</small>")
|
8 |
+
|
9 |
+
app.launch(debug=True, show_api=False)
|