colab should be good now (#623)
This commit is contained in:
parent
53573fa073
commit
e44e1e5b67
1
colab_fix.txt
Normal file
1
colab_fix.txt
Normal file
@ -0,0 +1 @@
|
||||
{"default_refiner": ""}
|
36
fooocus_colab.ipynb
Normal file
36
fooocus_colab.ipynb
Normal file
@ -0,0 +1,36 @@
|
||||
{
|
||||
"cells": [
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"metadata": {
|
||||
"id": "VjYy0F2gZIPR"
|
||||
},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"!pip install pygit2==1.12.2\n",
|
||||
"%cd /content\n",
|
||||
"!git clone https://github.com/lllyasviel/Fooocus\n",
|
||||
"%cd /content/Fooocus\n",
|
||||
"!cp colab_fix.txt user_path_config.txt\n",
|
||||
"!python entry_with_update.py --share\n"
|
||||
]
|
||||
}
|
||||
],
|
||||
"metadata": {
|
||||
"accelerator": "GPU",
|
||||
"colab": {
|
||||
"gpuType": "T4",
|
||||
"provenance": []
|
||||
},
|
||||
"kernelspec": {
|
||||
"display_name": "Python 3",
|
||||
"name": "python3"
|
||||
},
|
||||
"language_info": {
|
||||
"name": "python"
|
||||
}
|
||||
},
|
||||
"nbformat": 4,
|
||||
"nbformat_minor": 0
|
||||
}
|
@ -94,13 +94,13 @@ Please open an issue if you use similar devices but still cannot achieve accepta
|
||||
|
||||
### Colab
|
||||
|
||||
(Last tested - 2023 Sep 13)
|
||||
(Last tested - 2023 Oct 10)
|
||||
|
||||
| Colab | Info
|
||||
| --- | --- |
|
||||
[](https://colab.research.google.com/github/lllyasviel/Fooocus/blob/colab/colab.ipynb) | Fooocus Colab Version
|
||||
[](https://colab.research.google.com/github/lllyasviel/Fooocus/blob/main/fooocus_colab.ipynb) | Fooocus Official
|
||||
|
||||
Note that this link is optimized for Google Colab - the codes may be different from offline Fooocus for better Colab experience.
|
||||
Note that this Colab will disable refiner by default because Colab free's resource is relatively limited.
|
||||
|
||||
Thanks to [camenduru](https://github.com/camenduru)!
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user