Spaces:
Runtime error
Runtime error
Axel-Student
commited on
Commit
·
243498e
1
Parent(s):
5a644ca
remove hugging login
Browse files
app.py
CHANGED
@@ -1,12 +1,9 @@
|
|
1 |
import os
|
2 |
-
import torch
|
3 |
from diffusers import FluxPipeline # type: ignore
|
4 |
import gradio as gr # type: ignore
|
5 |
from huggingface_hub import login, InferenceClient
|
6 |
|
7 |
token = os.getenv("HF_TOKEN")
|
8 |
-
login(token=token)
|
9 |
-
|
10 |
|
11 |
client = InferenceClient(
|
12 |
provider="together",
|
|
|
1 |
import os
|
|
|
2 |
from diffusers import FluxPipeline # type: ignore
|
3 |
import gradio as gr # type: ignore
|
4 |
from huggingface_hub import login, InferenceClient
|
5 |
|
6 |
token = os.getenv("HF_TOKEN")
|
|
|
|
|
7 |
|
8 |
client = InferenceClient(
|
9 |
provider="together",
|