Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,4 +1,3 @@
|
|
| 1 |
-
"""
|
| 2 |
# Inference
|
| 3 |
|
| 4 |
import gradio as gr
|
|
@@ -8,13 +7,13 @@ app = gr.load(
|
|
| 8 |
src = "models",
|
| 9 |
inputs = [gr.Textbox(label = "Input")],
|
| 10 |
outputs = [gr.Textbox(label = "Output")],
|
| 11 |
-
title = "
|
| 12 |
examples = [
|
| 13 |
["Hello, World."]
|
| 14 |
]
|
| 15 |
).launch()
|
| 16 |
-
"""
|
| 17 |
|
|
|
|
| 18 |
# Pipeline
|
| 19 |
|
| 20 |
import gradio as gr
|
|
@@ -32,8 +31,9 @@ app = gr.Interface(
|
|
| 32 |
fn = fn,
|
| 33 |
inputs = [gr.Textbox(label = "Input")],
|
| 34 |
outputs = [gr.Textbox(label = "Output")],
|
| 35 |
-
title = "
|
| 36 |
examples = [
|
| 37 |
["Hello, World."]
|
| 38 |
]
|
| 39 |
-
).launch()
|
|
|
|
|
|
|
|
|
| 1 |
# Inference
|
| 2 |
|
| 3 |
import gradio as gr
|
|
|
|
| 7 |
src = "models",
|
| 8 |
inputs = [gr.Textbox(label = "Input")],
|
| 9 |
outputs = [gr.Textbox(label = "Output")],
|
| 10 |
+
title = "Meta Llama",
|
| 11 |
examples = [
|
| 12 |
["Hello, World."]
|
| 13 |
]
|
| 14 |
).launch()
|
|
|
|
| 15 |
|
| 16 |
+
"""
|
| 17 |
# Pipeline
|
| 18 |
|
| 19 |
import gradio as gr
|
|
|
|
| 31 |
fn = fn,
|
| 32 |
inputs = [gr.Textbox(label = "Input")],
|
| 33 |
outputs = [gr.Textbox(label = "Output")],
|
| 34 |
+
title = "Meta Llama",
|
| 35 |
examples = [
|
| 36 |
["Hello, World."]
|
| 37 |
]
|
| 38 |
+
).launch()
|
| 39 |
+
"""
|