richardkimsm89 commited on
Commit
224f79a
·
verified ·
1 Parent(s): de1b844

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -17
app.py CHANGED
@@ -49,28 +49,12 @@ app = gr.ChatInterface(
49
  ],
50
  title = "Meta Llama",
51
  description = model,
52
- examples = [
53
- ["Hello, World."]
54
- ]
55
  )
56
 
57
  if __name__ == "__main__":
58
  app.launch()
59
 
60
  """
61
- app = gr.load(
62
- "meta-llama/Llama-3.2-3B-Instruct",
63
- src = "models",
64
- inputs = [gr.Textbox(label = "Input")],
65
- outputs = [gr.Textbox(label = "Output")],
66
- title = "Meta Llama",
67
- description = "Inference",
68
- examples = [
69
- ["Hello, World."]
70
- ]
71
- ).launch()
72
- """
73
-
74
  # Pipeline
75
 
76
  import gradio as gr
@@ -94,4 +78,5 @@ app = gr.Interface(
94
  examples = [
95
  ["Hello, World."]
96
  ]
97
- ).launch()
 
 
49
  ],
50
  title = "Meta Llama",
51
  description = model,
 
 
 
52
  )
53
 
54
  if __name__ == "__main__":
55
  app.launch()
56
 
57
  """
 
 
 
 
 
 
 
 
 
 
 
 
 
58
  # Pipeline
59
 
60
  import gradio as gr
 
78
  examples = [
79
  ["Hello, World."]
80
  ]
81
+ ).launch()
82
+ """