VishalD1234 commited on
Commit
78f35cc
·
verified ·
1 Parent(s): a01dc67

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -0
app.py CHANGED
@@ -11,6 +11,17 @@ MODEL_PATH = "THUDM/cogvlm2-llama3-caption"
11
  DEVICE = 'cuda' if torch.cuda.is_available() else 'cpu'
12
  TORCH_TYPE = torch.bfloat16 if torch.cuda.is_available() and torch.cuda.get_device_capability()[0] >= 8 else torch.float16
13
 
 
 
 
 
 
 
 
 
 
 
 
14
 
15
  def get_step_info(step_name):
16
  """Returns detailed information about a manufacturing step."""
 
11
  DEVICE = 'cuda' if torch.cuda.is_available() else 'cpu'
12
  TORCH_TYPE = torch.bfloat16 if torch.cuda.is_available() and torch.cuda.get_device_capability()[0] >= 8 else torch.float16
13
 
14
+ DELAY_REASONS = {
15
+ "Step 1": ["Delay in Bead Insertion","Lack of raw material"],
16
+ "Step 2": ["Inner Liner Adjustment by Technician","Person rebuilding defective Tire Sections"],
17
+ "Step 3": ["Manual Adjustment in Ply1 apply","Technician repairing defective Tire Sections"],
18
+ "Step 4": ["Delay in Bead set","Lack of raw material"],
19
+ "Step 5": ["Delay in Turnup","Lack of raw material"],
20
+ "Step 6": ["Person Repairing sidewall","Person rebuilding defective Tire Sections"],
21
+ "Step 7": ["Delay in sidewall stitching","Lack of raw material"],
22
+ "Step 8": ["No person available to load Carcass","No person available to collect tire"]
23
+ }
24
+
25
 
26
  def get_step_info(step_name):
27
  """Returns detailed information about a manufacturing step."""