dwb2023 commited on
Commit
0d18b6e
1 Parent(s): 3e06d1d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -22,13 +22,14 @@ def get_model_summary(model_name):
22
  # Create the Gradio interface
23
  interface = gr.Interface(
24
  fn=get_model_summary,
25
- inputs=gr.inputs.Textbox(lines=1, placeholder="Enter model name...", label="Model Name"),
26
- outputs="text"),
27
  examples=[
28
  ["google/gemma-7b"],
29
  ["microsoft/Phi-3-mini-4k-instruct"],
30
  ["google/paligemma-3b-mix-224"],
31
  ["microsoft/Phi-3-vision-128k-instruct"]
32
- ]
33
  )
 
34
  interface.launch()
 
22
  # Create the Gradio interface
23
  interface = gr.Interface(
24
  fn=get_model_summary,
25
+ inputs="text",
26
+ outputs="text",
27
  examples=[
28
  ["google/gemma-7b"],
29
  ["microsoft/Phi-3-mini-4k-instruct"],
30
  ["google/paligemma-3b-mix-224"],
31
  ["microsoft/Phi-3-vision-128k-instruct"]
32
+ ]
33
  )
34
+
35
  interface.launch()