Spaces:
Runtime error
Runtime error
Ramesh-vani
commited on
Commit
·
b08fe9a
1
Parent(s):
cd06fb0
Update app.py
Browse files
app.py
CHANGED
@@ -152,13 +152,26 @@ def run_code(command):
|
|
152 |
|
153 |
return result
|
154 |
|
155 |
-
|
156 |
fn=run_code,
|
157 |
inputs="text",
|
158 |
outputs="text",
|
159 |
|
160 |
title="REST API ",
|
161 |
-
description="This is an AI powered
|
162 |
article=""
|
163 |
)
|
164 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
152 |
|
153 |
return result
|
154 |
|
155 |
+
gradio_interface1 = gradio.Interface(
|
156 |
fn=run_code,
|
157 |
inputs="text",
|
158 |
outputs="text",
|
159 |
|
160 |
title="REST API ",
|
161 |
+
description="This is an AI powered languages API ",
|
162 |
article=""
|
163 |
)
|
164 |
+
|
165 |
+
gradio_interface2 = gradio.Interface(
|
166 |
+
fn=run_command,
|
167 |
+
inputs="text",
|
168 |
+
outputs="text",
|
169 |
+
|
170 |
+
title="REST API ",
|
171 |
+
description="This is an AI powered command REST API ",
|
172 |
+
article=""
|
173 |
+
)
|
174 |
+
gradio_interface1.launch()
|
175 |
+
gradio_interface2.launch()
|
176 |
+
|
177 |
+
|