Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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
|
| 112 |
-
demo.launch(
|
|
|
|
| 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()
|