Remostart commited on
Commit
8b416f9
Β·
verified Β·
1 Parent(s): ad298b5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -3,7 +3,6 @@ import torch
3
  from transformers import AutoModelForCausalLM, AutoTokenizer
4
  import spaces
5
  import logging
6
- import json
7
 
8
  # Set up logging
9
  logging.basicConfig(level=logging.INFO)
@@ -108,5 +107,5 @@ demo = gr.Interface(
108
  description="Write Plutus smart contracts on Cardano blockchain."
109
  )
110
 
111
- # Launch with simplified queueing
112
- demo.launch(queue=True, max_queue_size=5)
 
3
  from transformers import AutoModelForCausalLM, AutoTokenizer
4
  import spaces
5
  import logging
 
6
 
7
  # Set up logging
8
  logging.basicConfig(level=logging.INFO)
 
107
  description="Write Plutus smart contracts on Cardano blockchain."
108
  )
109
 
110
+ # Launch with ZeroGPU-compatible settings
111
+ demo.launch()