Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -70,6 +70,6 @@ inputs = [
|
|
70 |
|
71 |
outputs = gr.outputs.Textbox(label="Translated Code")
|
72 |
|
73 |
-
gr.Interface(fn=translate_code, inputs=inputs, outputs=outputs, title="Code Translator", description="Enter your code, select the source language, and the language you want to translate it to. The AI will try to provide the translated code,
|
74 |
|
75 |
|
|
|
70 |
|
71 |
outputs = gr.outputs.Textbox(label="Translated Code")
|
72 |
|
73 |
+
gr.Interface(fn=translate_code, inputs=inputs, outputs=outputs, title="Code Translator", description="Enter your code, select the source language, and the language you want to translate it to. The AI will try to provide the translated code, Please note that due to the high value of the 'max tokens' parameter, the generation of results may take approximately 30 to 90 seconds.", theme="compact").launch()
|
74 |
|
75 |
|