Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,6 +1,7 @@
|
|
| 1 |
from fastapi import FastAPI, Request
|
| 2 |
from transformers import AutoTokenizer, AutoModelForCausalLM, pipeline
|
| 3 |
-
import torch
|
|
|
|
| 4 |
|
| 5 |
app = FastAPI(title="Gemma Free API")
|
| 6 |
|
|
|
|
| 1 |
from fastapi import FastAPI, Request
|
| 2 |
from transformers import AutoTokenizer, AutoModelForCausalLM, pipeline
|
| 3 |
+
import torch, os
|
| 4 |
+
|
| 5 |
|
| 6 |
app = FastAPI(title="Gemma Free API")
|
| 7 |
|