lyimo commited on
Commit
bcea1f2
Β·
1 Parent(s): 93e2858

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -5,6 +5,7 @@ import llama_cpp
5
  from llama_cpp import Llama
6
  from huggingface_hub import hf_hub_download
7
  import os
 
8
 
9
 
10
  llm = Llama(
@@ -77,4 +78,6 @@ def combined(img, message):
77
  return response
78
 
79
 
80
- gr.Interface(fn=combined,inputs=gr.inputs.Image(shape=(512, 512)),outputs=gr.outputs.Text(),title=title,description=description,examples=examples,interpretation=interpretation,enable_queue=enable_queue).launch()
 
 
 
5
  from llama_cpp import Llama
6
  from huggingface_hub import hf_hub_download
7
  import os
8
+ from gradio.components import Image, Text
9
 
10
 
11
  llm = Llama(
 
78
  return response
79
 
80
 
81
+
82
+
83
+ gr.Interface(fn=combined,inputs=Image(shape=(512, 512)),outputs=Text(),title=title,description=description,examples=examples,interpretation=interpretation,enable_queue=enable_queue).launch()