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