Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -1,20 +1,11 @@
|
|
1 |
-
# import gradio as gr
|
2 |
-
|
3 |
-
# def greet(name):
|
4 |
-
# return "Hello " + name + "!!"
|
5 |
-
|
6 |
-
# demo = gr.Interface(fn=greet, inputs="text", outputs="text")
|
7 |
-
# demo.launch()
|
8 |
-
|
9 |
-
|
10 |
import gradio as gr
|
11 |
import requests
|
12 |
import torch
|
13 |
from PIL import Image
|
14 |
from transformers import MllamaForConditionalGeneration, AutoProcessor
|
15 |
|
16 |
-
from huggingface_hub import login
|
17 |
-
login("HUGGINGFACE_API_TOKEN")
|
18 |
|
19 |
# Load the Llama 3.2 Vision Model
|
20 |
def load_llama_model():
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
import gradio as gr
|
2 |
import requests
|
3 |
import torch
|
4 |
from PIL import Image
|
5 |
from transformers import MllamaForConditionalGeneration, AutoProcessor
|
6 |
|
7 |
+
# from huggingface_hub import login
|
8 |
+
# login("HUGGINGFACE_API_TOKEN")
|
9 |
|
10 |
# Load the Llama 3.2 Vision Model
|
11 |
def load_llama_model():
|