Yati05 commited on
Commit
fed22f9
·
1 Parent(s): 42f79fb

change chatbot to basic blocks

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -23,9 +23,8 @@ def predict(user_input):
23
 
24
 
25
 
26
- with gr.Blocks(title="Python Code Generation",theme=gr.themesMonochrome()) as demo:
27
  gr.HTML(value="<style>h1 {text-align: center;}</style><h1>Python Code Generation</h1>")
28
- #gr.Markdown("# Python Code Generation")
29
  input = gr.Textbox(label="Text Prompt",placeholder="Enter the prompt to generate code")
30
  greet_btn = gr.Button("Generate")
31
  output = gr.Textbox(label="Code")
 
23
 
24
 
25
 
26
+ with gr.Blocks(title="Python Code Generation",theme=gr.themes.Monochrome()) as demo:
27
  gr.HTML(value="<style>h1 {text-align: center;}</style><h1>Python Code Generation</h1>")
 
28
  input = gr.Textbox(label="Text Prompt",placeholder="Enter the prompt to generate code")
29
  greet_btn = gr.Button("Generate")
30
  output = gr.Textbox(label="Code")