Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -164,10 +164,10 @@ with gr.Blocks(theme=small_and_beautiful_theme) as demo:
|
|
164 |
|
165 |
with gr.TabItem("Übersetzungen"):
|
166 |
with gr.Row():
|
167 |
-
gr.Interface(translate, inputs="
|
168 |
with gr.TabItem("Code-genereierungen"):
|
169 |
with gr.Row():
|
170 |
-
gr.Interface(coding, inputs="
|
171 |
|
172 |
predict_args = dict(
|
173 |
fn=predict,
|
|
|
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,
|