bharatcoder
commited on
Rename app.py
Browse filesRemove .env dependency
- text_image.py → app.py +1 -2
text_image.py → app.py
RENAMED
@@ -1,11 +1,10 @@
|
|
1 |
import os
|
2 |
-
from dotenv import load_dotenv, find_dotenv
|
3 |
from huggingface_hub import InferenceClient
|
4 |
import gradio as gr
|
5 |
|
6 |
from utils import get_default_hyperparameters # Import the utility function
|
7 |
|
8 |
-
|
9 |
hf_token = os.getenv("HF_TOKEN")
|
10 |
|
11 |
headers = {
|
|
|
1 |
import os
|
|
|
2 |
from huggingface_hub import InferenceClient
|
3 |
import gradio as gr
|
4 |
|
5 |
from utils import get_default_hyperparameters # Import the utility function
|
6 |
|
7 |
+
|
8 |
hf_token = os.getenv("HF_TOKEN")
|
9 |
|
10 |
headers = {
|