Spaces:
Runtime error
Runtime error
Commit
·
4e15b3e
1
Parent(s):
a2c0b46
Update app.py
Browse files
app.py
CHANGED
@@ -36,5 +36,6 @@ model_choice = gr.Dropdown(label="Select Model", choices=[m for m in names], typ
|
|
36 |
input_text = gr.Textbox(label="Input Prompt")
|
37 |
output_window = gr.Code(label="Generated Code")
|
38 |
title="Text to Code Generation Models Comparison"
|
39 |
-
|
|
|
40 |
interface.launch()
|
|
|
36 |
input_text = gr.Textbox(label="Input Prompt")
|
37 |
output_window = gr.Code(label="Generated Code")
|
38 |
title="Text to Code Generation Models Comparison"
|
39 |
+
theme = gr.themes.glass()
|
40 |
+
interface = gr.Interface(fn=the_process, inputs=[input_text, model_choice], outputs="text", title = title, theme = theme)
|
41 |
interface.launch()
|