Rajhuggingface4253 commited on
Commit
492db60
·
verified ·
1 Parent(s): 400c97d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -0
app.py CHANGED
@@ -30,6 +30,17 @@ regular_servers = [
30
 
31
  # REVERTED: Use the EXACT format that worked for Qwen 2
32
  models_to_warm = [
 
 
 
 
 
 
 
 
 
 
 
33
  {
34
  "name": "NLLB Translator",
35
  "url": "https://rajhuggingface4253-translate.hf.space",
 
30
 
31
  # REVERTED: Use the EXACT format that worked for Qwen 2
32
  models_to_warm = [
33
+ {
34
+ "name": "gemma",
35
+ "url": "https://rajhuggingface4253-gemma-checking.hf.space",
36
+ "endpoint": "/fix",
37
+ "type": "streaming_chat", # Reusing streaming logic as NLLB streams text
38
+ "timeout": 45.0,
39
+ "payload": {
40
+ "text": "warmup",
41
+
42
+ }
43
+ },
44
  {
45
  "name": "NLLB Translator",
46
  "url": "https://rajhuggingface4253-translate.hf.space",