Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -162,12 +162,12 @@ with gr.Blocks(theme=small_and_beautiful_theme) as demo:
|
|
| 162 |
)
|
| 163 |
gr.Markdown(description)
|
| 164 |
|
| 165 |
-
|
| 166 |
-
|
| 167 |
-
|
| 168 |
-
|
| 169 |
-
|
| 170 |
-
|
| 171 |
|
| 172 |
predict_args = dict(
|
| 173 |
fn=predict,
|
|
|
|
| 162 |
)
|
| 163 |
gr.Markdown(description)
|
| 164 |
|
| 165 |
+
with gr.TabItem("Übersetzungen"):
|
| 166 |
+
with gr.Row():
|
| 167 |
+
gr.Interface(fn=translate, inputs="text", outputs="text")
|
| 168 |
+
with gr.TabItem("Code-genereierungen"):
|
| 169 |
+
with gr.Row():
|
| 170 |
+
gr.Interface(fn=coding, inputs="text", outputs="text")
|
| 171 |
|
| 172 |
predict_args = dict(
|
| 173 |
fn=predict,
|