nadiamaqbool81 commited on
Commit
0e84598
·
1 Parent(s): 557bcbf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -3,7 +3,7 @@ import gradio as gr
3
  models=[
4
  "nadiamaqbool81/starcoderbase-1b-hf",
5
  "nadiamaqbool81/starcoderbase-1b-hf_python",
6
- "nitrosocke/redshift-diffusion",
7
  ]
8
  model_box=[
9
  gr.Interface.load(f"models/{models[0]}",preprocess=True),
@@ -18,7 +18,7 @@ def the_process(input_text, model_choice):
18
  return(output)
19
 
20
  with gr.Blocks() as demo:
21
- gr.HTML("""<h1 style="font-weight:600;font-size:50;margin-top:4px;margin-bottom:4px;text-align:center;">Example Space to copy/paste</h1></div>""")
22
  with gr.Row():
23
  with gr.Column():
24
  model_choice = gr.Dropdown(label="Select Model", choices=[m for m in models], type="index", interactive=True)
 
3
  models=[
4
  "nadiamaqbool81/starcoderbase-1b-hf",
5
  "nadiamaqbool81/starcoderbase-1b-hf_python",
6
+ "nadiamaqbool81/starcoderbase-1b-hf_python",
7
  ]
8
  model_box=[
9
  gr.Interface.load(f"models/{models[0]}",preprocess=True),
 
18
  return(output)
19
 
20
  with gr.Blocks() as demo:
21
+ gr.HTML("""<h1 style="font-weight:600;font-size:50;margin-top:4px;margin-bottom:4px;text-align:center;">Text to Code Generation</h1></div>""")
22
  with gr.Row():
23
  with gr.Column():
24
  model_choice = gr.Dropdown(label="Select Model", choices=[m for m in models], type="index", interactive=True)