Tonic commited on
Commit
6f4a565
1 Parent(s): 000cbb2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -73,7 +73,7 @@ languages = {
73
  # Global variables to hold component references
74
  components = {}
75
  dotenv.load_dotenv()
76
- seamless_client = Client("https://facebook-seamless-m4t-v2-large.hf.space/--replicas/2bmbx/") #TruEra
77
  HuggingFace_Token = os.getenv("HuggingFace_Token")
78
  hf_token = os.getenv("HuggingFace_Token")
79
  device = "cuda" if torch.cuda.is_available() else "cpu"
@@ -163,7 +163,7 @@ def save_image(image_input, output_dir="saved_images"):
163
 
164
  def process_image(image_file_path):
165
  print("Entering process_image function")
166
- client = Client("https://tonic1-official-qwen-vl-chat.hf.space/--replicas/hlpwp/") # TruEra
167
  try:
168
  result = client.predict(
169
  "Describe this image in detail, identify every detail in this image. Describe the image the best you can.",
 
73
  # Global variables to hold component references
74
  components = {}
75
  dotenv.load_dotenv()
76
+ seamless_client = Client("https://facebook-seamless-m4t.hf.space/--replicas/7sv2b/") #TruEra
77
  HuggingFace_Token = os.getenv("HuggingFace_Token")
78
  hf_token = os.getenv("HuggingFace_Token")
79
  device = "cuda" if torch.cuda.is_available() else "cpu"
 
163
 
164
  def process_image(image_file_path):
165
  print("Entering process_image function")
166
+ client = Client("https://tonic1-official-qwen-vl-chat.hf.space/--replicas/8w8ws/") # TruEra
167
  try:
168
  result = client.predict(
169
  "Describe this image in detail, identify every detail in this image. Describe the image the best you can.",