brackozi commited on
Commit
4499b20
·
1 Parent(s): 961f5ea

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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, along with specific instructions for each language pair to ensure that the code can be compiled without issues.", theme="compact").launch()
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