Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -35,7 +35,7 @@ def translate(text_input, openapi_key):
|
|
| 35 |
|
| 36 |
inputs = [
|
| 37 |
gr.inputs.Textbox(lines=2, label="Input Open API Key"),
|
| 38 |
-
|
| 39 |
]
|
| 40 |
|
| 41 |
outputs = gr.outputs.Textbox(label="Translation")
|
|
|
|
| 35 |
|
| 36 |
inputs = [
|
| 37 |
gr.inputs.Textbox(lines=2, label="Input Open API Key"),
|
| 38 |
+
gr.inputs.File(label="Upload MDX File")
|
| 39 |
]
|
| 40 |
|
| 41 |
outputs = gr.outputs.Textbox(label="Translation")
|