AFischer1985 commited on
Commit
48af855
1 Parent(s): 66476a4

Update run.py

Browse files
Files changed (1) hide show
  1. run.py +1 -1
run.py CHANGED
@@ -40,10 +40,10 @@ def response(message, history, model):
40
 
41
  x=requests.get(f"https://api-inference.huggingface.co/framework/text-generation-inference")
42
  x=[i["model_id"] for i in x.json()]
43
- x.insert(0,"Default")
44
  print(x)
45
  x=[s for s in x if s.startswith("mistral")]
46
  print(x)
 
47
 
48
  gr.ChatInterface(
49
  response,
 
40
 
41
  x=requests.get(f"https://api-inference.huggingface.co/framework/text-generation-inference")
42
  x=[i["model_id"] for i in x.json()]
 
43
  print(x)
44
  x=[s for s in x if s.startswith("mistral")]
45
  print(x)
46
+ x.insert(0,"Default")
47
 
48
  gr.ChatInterface(
49
  response,