LeroyDyer commited on
Commit
64d989f
·
verified ·
1 Parent(s): 6f9d70e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -7,9 +7,7 @@ import time
7
  import logging
8
  import uuid
9
  import gradio as gr
10
- from huggingface_hub import InferenceClient
11
 
12
- client = InferenceClient(token=hf_token.token, model="openai/gpt-oss-20b")
13
  from openai import AsyncOpenAI
14
 
15
  async_client = AsyncOpenAI(
@@ -2019,7 +2017,7 @@ if __name__ == "__main__":
2019
  print("LM Studio connection OK")
2020
 
2021
  except Exception as e:
2022
- sync_client = client
2023
  print(f"Warning: {e}")
2024
  print("Make sure LM Studio is running on http://localhost:1234")
2025
 
 
7
  import logging
8
  import uuid
9
  import gradio as gr
 
10
 
 
11
  from openai import AsyncOpenAI
12
 
13
  async_client = AsyncOpenAI(
 
2017
  print("LM Studio connection OK")
2018
 
2019
  except Exception as e:
2020
+
2021
  print(f"Warning: {e}")
2022
  print("Make sure LM Studio is running on http://localhost:1234")
2023