Spaces:
Paused
Paused
Update app.py
Browse files
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=
|
| 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()
|